volumetric fog
hey! anybody knows any info about opengl shadered pixel fog ?
the link,the idea.
i was reading article of this site. but It has not given to me useful info.
As always, my first stop is the great nehe site:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=41
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=41
thanks ,but this is vertex fog! :)
i mean full convex pixel fog with thickness,which is calculated in shaders
i mean full convex pixel fog with thickness,which is calculated in shaders
what first step i must do ?
i guess:
i must find per-fragment depth of back and front fog mesh faces!
per- fragment depth is calculated as vectorlength(camera-fragment.pos) ? right ??
calculations in fragment program!
i guess:
i must find per-fragment depth of back and front fog mesh faces!
per- fragment depth is calculated as vectorlength(camera-fragment.pos) ? right ??
calculations in fragment program!
your topic title must be something like 'shader fog'
'volumetric fog' is misleading making ppl or atleast me to think of the gl extensions for volumetric fog
'volumetric fog' is misleading making ppl or atleast me to think of the gl extensions for volumetric fog
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement