Volumetic Fog using ARB_fragment_program

Started by
0 comments, last by Unreal 20 years, 4 months ago
hello guys! the question is simple! Any idea how to implement volumetric fog with ARB_fragment_program?
Advertisement
With or without shadows? Without is quite simple.

Compute the smallest distance from the light to the ray between the camera and the fragment and let the fog volume brightness decay according to it.
[size="1"]Perl - Made by Idiots, Java - Made for Idiots, C++ - Envied by Idiots | http://sunray.cplusplus.se

This topic is closed to new replies.

Advertisement