Page 1 of 1

Fog that doesn't affect skydome/skybox

Posted: Fri Jan 21, 2011 10:59 am
by Kelebrindae
Hi,

Could you add a flag (either in the "Fog" command or in the "Skydome"/"Skybox" commands) to avoid that the fog affects the sky.
Something like this:

Fog(RGB(0,188,200),10,20,2000[,#PB_SkyNotAffected])

In the current PB version, as soon as you add some fog, you can't see the sky anymore (=> no "clouds + slight blue fog for the depth cue" :( ).

Thanks

Re: Fog that doesn't affect skydome/skybox

Posted: Sun Jan 23, 2011 5:31 pm
by Rook Zimbabwe
That sounds like it could be an OGRE issue not a PB issue? :?

Re: Fog that doesn't affect skydome/skybox

Posted: Wed Jan 26, 2011 7:50 am
by Kelebrindae
Not necessarily true.
If "Skydome" is a native OGRE command, you're right.
But if the Skydome is a dynamically generated mesh/entity with an auto-scrolling OGRE material on it, there's a flag named "fog_override " in the material syntax to disable the fog (http://www.ogre3d.org/docs/manual/manual_16.html#SEC67).

It's just an example, but my point is that, depending on the way PB achieves the Skydome FX, the issue might be fixed within the PB 3D lib.