View Full Version : How to make a FOG like in q3dm4 ?

11-25-2000, 05:15 AM
Hi folx... is there a tuto how to make volumetric fog with ogl ? Like ID did it on q3dm4 ?!

Uncle Bob
11-28-2000, 07:44 AM
See www.flipcode.com (http://www.flipcode.com)

Tim Stirling
11-28-2000, 08:38 AM
Also try nehe.gamedev.net for a simple fog example, although some more advanced tuts would be needed. http://www.opengl.org/discussion_boards/ubb/smile.gif

11-30-2000, 10:53 AM
One trick that may work for you is to turn fog on only for surfaces effected by fog. For example, you could turn fog on for the floor surfaces and the lower wall areas then turn fog off for drawing the rest of the 'room'. This makes the floor area look foggy. This works fairly well for enclosed areas but not for 'cloud' type effects.

12-01-2000, 02:59 AM
can you post some examples or give links?