When I initialize and enable fog all the objects in my scene turn grey. Has somebody had this problem before?
They''re fogged!
Fiddle with the fogging parameters, it''s been a while since I''ve used OGL fog so I can''t remember good beginning parameters, I remember having a PITA with linear fogging, try EXP2 with some very low densities and see if your objects come back.
Fiddle with the fogging parameters, it''s been a while since I''ve used OGL fog so I can''t remember good beginning parameters, I remember having a PITA with linear fogging, try EXP2 with some very low densities and see if your objects come back.
quote:Original post by Screams of Chaos
When I initialize and enable fog all the objects in my scene turn grey. Has somebody had this problem before?
If you don''t like gray, give yourself a new glFogColor more to your likings! ;-)
Ok, ok, more to the point: This is exactly how it should be. If you expected something else, then maybe your fog is to dense (modify this with using one of the "glFog* (GL_FOG_DENSITY, )" functions).
If all you want is that objects near your viewpoint are not affected at all by the fog, then "glFog* (GL_FOG_START, )" is your friend.
Tilmann
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement