Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Volumetric Fog vs. Object Loading

This topic is 5239 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

I tried to implement a volumetric fog into my game just the same way as in NeHe''s tutorial 41 (using glFogCoordfEXT)... But the thing is that I use a wavefront object loader (glm.h) and all the objects that have been loaded into the game with the loader take the color of the fog (like everywhere is gray) but the basic shapes that I draw using GL_QUAD_STRIP etc. doest seem effected (of course they seem foggy as I expect from the other objects). By the way also the bitmap fonts on the screen are also foggy (whether I use glFogCoordfEXT or not).. I mean they take take the color of the fog when I turn my camera towards the foggy area.. Any suggestions? Or I have to use particles.. (which is expensive)..

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!