Skip to content

Instantly share code, notes, and snippets.

@chchwy
Created February 6, 2017 12:44
Show Gist options
  • Save chchwy/6cce09e01531bd136c4261b1c805d88d to your computer and use it in GitHub Desktop.
Save chchwy/6cce09e01531bd136c4261b1c805d88d to your computer and use it in GitHub Desktop.
sceneManager->setAmbientLight( Ogre::ColourValue( 0.3f, 0.5f, 0.7f ) * 0.1f * 0.75f,
Ogre::ColourValue( 0.6f, 0.45f, 0.3f ) * 0.065f * 0.75f,
-light->getDirection() + Ogre::Vector3::UNIT_Y * 0.2f );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment