It has been ages since I had a crack at Ogre. So I have decided to get back into it using the 1.10 family.
I have set up a basic scene with lights and all is rendering well.
But as soon as I set the shadow type I get this;
Code: Select all
mSceneMgr->setShadowTechnique(ShadowTechnique::SHADOWTYPE_STENCIL_ADDITIVE);
The scene manager is ST_GENERIC is that makes any difference.
Code: Select all
mSceneMgr = mRoot->createSceneManager(ST_GENERIC);
Any help would be greatly appreciated.InvalidParametersException: Named constants have not been initialised, perhaps a compile error....