Archived

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

Strange Fog

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

Hi, i''m trying to render a 3D star map with a grid placed over the y plane. This grid is made of GL_LINES. Now i want to apply a black fog over the borders of the grid to not be able to see those borders and load sectors of the grid runtime with the camera movement. But if i put on fog, with or without lighting, the grid goes black. If i put the fog red the lines are red and so on. It''s a problem of the GL_LINES?

Share this post


Link to post
Share on other sites
nevermind, i''ve set it up with correct color but it''s strange, a certain views the lines are renderes correctly, in others angles of the camera it''s visible only ilnes parallel from them, the others perpendicular are hidden or very very dark.

Share this post


Link to post
Share on other sites