Archived

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

Volumetric fog problem

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

Can anyone recognize the problem here? Screenie I enable fog when rendering the terrain (yes, that''s what that is) and disable it when done. I''m using code more or less from gametutorials.com, so im pretty sure i''m using glFogCoord correctly. I''m guessing I have something enabled/disabled that I shouldn''t while applying the fog, but I can''t seem to find what that might be.
[My site|SGI STL|Bjarne FAQ|C++ FAQ Lite|MSDN|Jargon]
Ripped off from various people

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Not sure if this helps, but maybe you calculated your fog coordinates incorrectly. It looks as though the whole terrian is COMPLETELY fogged. But you may be right about the enable/disable thing.

Share this post


Link to post
Share on other sites
You can''t modify any value once a Display List is done !
So I think you put the fog value in the display list when you define it and display this list, but you can not modify this value once you defined the Display List.

- Iliak -

Share this post


Link to post
Share on other sites