Lights in ogre
Posted: Thu Sep 08, 2005 12:06 am
Does ogre's lights supports map projection ?
Code: Select all
MaterialPtr mat_caust = MaterialManager::getSingleton().getByName("Caustic");
TextureUnitState* tus_caust = mat_caust->getTechnique(0)->getPass(0)->getTextureUnitState(0);
tus_caust->setProjectiveTexturing(true, m_caustic_frustum);