Increased the effect of changing the ambient light back to its original strength.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
b5ac1c4028
commit
b21b0c230b
@ -528,6 +528,7 @@ void Track::handleAnimatedTextures(scene::ISceneNode *node, const XMLNode &xml)
|
|||||||
void Track::update(float dt)
|
void Track::update(float dt)
|
||||||
{
|
{
|
||||||
irr_driver->getSceneManager()->setAmbientLight(m_ambient_color);
|
irr_driver->getSceneManager()->setAmbientLight(m_ambient_color);
|
||||||
|
m_light->getLightData().AmbientColor = m_ambient_color;
|
||||||
|
|
||||||
for(unsigned int i=0; i<m_animated_textures.size(); i++)
|
for(unsigned int i=0; i<m_animated_textures.size(); i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user