Page 1 of 1

Support for fog volumes

Posted: Sun Nov 15, 2009 2:01 am
by MVi
I found a few mentions of this in previous threads, and one thread about soft particles for smoke and clouds and such. But my question is, are there plans for adding support for polygon-based fog like in Unreal (e.g. a wide volume on the floor to create a layer of mist, or a room-sized box filling a single room with fog)? I'd be very interested in this feature.

Here are a few links to articles on the matter:
http://www.nothings.org/computer/vfog/index.html
http://www.gamedev.net/reference/articl ... cle677.asp

Here's a shot of a box-shaped fog brush in Unreal Editor:
http://udn.epicgames.com/Three/rsrc/Thr ... Volume.jpg

I guess volumetric textures can also be used to achieve localized fog effects, but usually the visual outcome is not as good, and they affect the framerate differently.

Re: Support for fog volumes

Posted: Wed Mar 24, 2010 6:45 pm
by metaldev
You can already do this with Ogre.
You need to write a shader to do it.