Ogre Version: :v14.3.4:
Operating System: :Windows 10:
Render System: :DirectX11:
I was following the tutorials, I got to "Lights, Cameras, Shadows" around the part where we add this line " spotLight->setSpotlightRange(Degree(35), Degree(50));" but I'm getting some ogre exception about FixedFunction not being supported even tho I already initialized the RTShader gen like the tutorials say in like the very first one.
Code: Select all
OgreBites::ApplicationContext ctx("Call Of Zed");
ctx.initApp();
Ogre::Root* root = ctx.getRoot();
Ogre::SceneManager* scnMgr = root->createSceneManager();
Ogre::RTShader::ShaderGenerator* shadergen = Ogre::RTShader::ShaderGenerator::getSingletonPtr();
shadergen->addSceneManager(scnMgr);
Code: Select all
OGRE EXCEPTION: Ogre::InvalidStateException::InvalidStateException: RenderSystem does not support FixedFunction, but technique of 'Examples/Ninja' has no Vertex Shader. Use the RTSS or write custom shaders. in SceneManager::_setPass at C:\Users\CMT\Desktop\Projects\CallOfZed\Vendor\ogre-14.3.4\OgreMain\src\OgreSceneManager.cpp (line 680)