White light

sarmadm

27-11-2008 10:01:11

Hi guys,
wherever i take my camera , this white light seems to follow it. (i am using caelum along with hydrax)

Xavyiy

27-11-2008 10:17:35

Have you follow this tutorial: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=8458 ?

sarmadm

27-11-2008 10:28:14

yes i have. i have changed the rttmanager. i have also added the HydraxDepth technique to caelum materials. The thing is i am updating hydrax like this.
mHydrax->setSunPosition(sunPosition);
Ogre::Vector3 temp;
temp.x = sunColour.r;
temp.y = sunColour.g;
temp.z = sunColour.b;
mHydrax->setSunColor(temp);
mHydrax->update(timeSinceLastFrame);
but i have no idea wht to do about
Hydrax::setSunArea();
Hydrax::setWaterColor();

can you help me in this regard. thanks in advance

petrinm

27-11-2008 14:01:52

Disable Caelum's ground fog!

sarmadm

28-11-2008 05:58:08

i have disabled Caelum ground fog and haze

sarmadm

28-11-2008 06:22:39

Problem solved. the problem was that i was setting mCaelumSystem->setManageSceneFog (true); intially and then i was disabling it by mCaelumSystem->setGroundFog (NULL); in the next line which causing problems. mCaelumSystem->setManageSceneFog (false); set the problem right. Thanx for the help guys