- ambient light (0.4,0.4,0.4)
- directional light (this is the sun)
- point light above the head of the hero (this illuminates the area around the hero)
When shadows are switched off, the quite bright ambient light is dominant.
This screenshot shows the scene without shadows:

Now I insert these few lines, that activate shadows:
Code: Select all
light = m_scene_manager->getLight("RegionLight");
light->setCastShadows(true);
m_scene_manager->setShadowTextureConfig(0,2048,2048,Ogre::PF_X8R8G8B8);
m_scene_manager->setShadowColour( Ogre::ColourValue(0.5, 0.5, 0.5) );
m_scene_manager->setShadowTechnique(Ogre::SHADOWTYPE_TEXTURE_ADDITIVE);

The shadows are nice, but the whole scene is much darker. The same effect shows up when I remove the ambient light instead of activating shadows. Thats why my guess is, that I have accidently switched off ambient light, but I have no clue why.
Perhaps you can tell me what happened here.
Thanks in advance
