|
From: Frank C <li...@si...> - 2004-07-15 03:33:54
|
On 14-Jul-04, at 6:10 PM, Keith Wiley wrote: > Is there any way to make fog on work as a function of X and Z, and not > of > Y? Not currently, though you may be able to hack it in by talking to OpenGL directly (perhaps using GL_EXT_fog_coord). > However, I would like a clear blue sky to be visible overhead. I don't > want the fog effect to drown out the sky dome object that will hang > over > the entire environment even though that dome must be fairly far away in > order to surround the entire area of the environment. You can place the skydome in a display group with a fogstyle object that has it's visibility set to false. This will override the view's fog settings for your skydome. I find this works best if your skydome/box fades to the fog colour (or becomes transparent) as it approaches the horizon. Frank. |