[SkyX]How can i get/calculate fog color!?

ahmadi

13-03-2013 17:45:19

Hi
I want set my fog color to SkyX background color.
There is no function to retrieve fog color from SkyX atmosphere! or even getting ambient or background color.
i tried to use mSkyX->getAtmosphereManager()->getColorAt() but that don't work correctly!
Somebody reported the function bug but in wrong forum ;)
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=75854

Thank you for any help.