Advertisement Jump to content
Sign in to follow this  
evillgames

OpenGL volumetric fog

This topic is 4672 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
As always, my first stop is the great nehe site:

http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=41

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!