Jump to content

Recommended Posts

Posted

You can replace your mesh.frag with this, and all your scene will be highlited by "fresnel" effect.

In top of shader there have line

#define AILY_FRESNEL_HIGHLIGT 1.5

To control fresnel contrast.

mesh.rar

post-260-0-47209600-1311741964_thumb.jpg

"Better" is big enemy of "good"

Posted

I've done stuff like this before. Basically, anything that uses the normal to change the shading will break up the flat look.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Isn't the FPS cost for a screenspace shader much higher though than adding a few pointlights to illuminate the ambient areas?

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

Does this work in the editor? Do I need to turn anything on? It just looks the same to me. :)

Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7.

 

Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4

Posted

Does this work in the editor? Do I need to turn anything on? It just looks the same to me. :)

Yes, it working in editor :) Nothing needs to turn on. You try to decrace ambient light, and it's effect much vissible on rounded surfaces.

"Better" is big enemy of "good"

Posted

Yes, it working in editor :) Nothing needs to turn on. You try to decrace ambient light, and it's effect much vissible on rounded surfaces.

 

 

Oooh, Thanks. :)

Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7.

 

Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...