good fog values?

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
harmon
Halfling
Posts: 72
Joined: Thu Mar 03, 2005 9:52 pm

good fog values?

Post by harmon »

I am working on adding my own stuff to the airplane and terrain tutorial and was wondering if it is possible to get fog that is not "opaque" but can still be seen through..."light fog" in other words. I know the function, but not any good parameters... here is what i have right now.
mSceneMgr->setFog (FOG_LINEAR, ColourValue(0.2,0.2,0.2), 0.1, 100, 200);
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

Use one of the exponential types and play with the density until it gives you the effect you need.