I've spent the last two days trying to get Planar Reflections and after basically copy and pasting the code from the ogre sample and it still not working, i realised it must be ogre and not me.
The problem is yet another issue with relativeOrigin. I can repro in the planar sample by simply setting the relative origin at the start of createReflectiveSurfaces().
Code: Select all
sceneManager->setRelativeOrigin( Ogre::Vector3( 0, 0, 10 ), false );
Im only trying to get the Unlit version working at the moment, but it looks like this also completely breaks the Pbs version even more so.
Here are some images to highlight what im talking about.
Thanks.