VEX Lit Fog shader

This fog shader computes lit fog by marching a ray from the eye to the surface being shaded.

This fog shader computes lit fog by marching a ray from the eye to the surface being shaded. The illumination in the scene is computed at each step along the ray. If shadows are turned on, this will cause shadow shaders to be evaluated possibly increasing render times substantially.

Usages in other examples

Example name Example for