Advertisement

Need help with fog.

Started by May 03, 2003 10:05 AM
1 comment, last by B00Zagl0 21 years, 10 months ago
Hi everyone, I need help with fog in openGL. all of the examples I saw about fog is creating the all scene in fog. I want to create fog with some high. I mean if we have a floor and a person standing on it, I want that the fog will only cover his legs. no matter how far the camera is. all the example (also in this site) is fog for all the scene. is there any way to do it ? thanks, B00Zagl0
It''s called volumetric fog. Search on gamedev or google for about a million examples.
I like pie! - weebl.
Oneiric - Another graphics engine in the works.
Advertisement
The latest NeHe tutorial on Volumetric Fog is what you want to read. Really cool effect, and it''s what you want

Also, GameTutorials has a volumetric fog tutorial.

This topic is closed to new replies.

Advertisement