Falloff effect in GLSL/Leadwerks Engine

Today, I wrote a falloff shader for LE. It uses either the dot product of or the distance between the surface normal and the normal pointing to the camera to calculate the color.



See here for more info.

Comments

Popular posts from this blog

How to monitor a directory for changes with ReadDirectoryChangesW

Fastest way to zero out memory - stream past cache with movntdq/_mm_stream_si128

Extended Terrain XYZ now free and open source