• Advertisement


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

Volumetric Fog vs. Object Loading

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