volumetric fog

Started by
5 comments, last by tenmar 18 years ago
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.
Advertisement
As always, my first stop is the great nehe site:

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
nVidia have a sample of this in the their SDK. I'll get a link soon...
Ollie"It is better to ask some of the questions than to know all the answers." ~ James Thurber[ mdxinfo | An iridescent tentacle | Game design patterns ]
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!
!
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

This topic is closed to new replies.

Advertisement