Ogre Version: : 13.5.2:
Operating System: :windows 10:
Render System: :OpenGL 3+,D3D11:
I updated ogre3d from 13.1.1 to 13.5.2 and some shadows disappear.
Get tutorial 2 and add code below
Code: Select all
createSphere("mySphereMesh", 30, 16, 16);
Entity* sphereEntity = scnMgr->createEntity("mySphereEntity", "mySphereMesh");
sphereEntity->setMaterialName("Examples/Rockwall");
SceneNode* sphe = scnMgr->getRootSceneNode()->createChildSceneNode();
sphereEntity->setCastShadows(true);
sphe->translate(30, 100, 0);
sphe->attachObject(sphereEntity);
createSphere() is the function in https://wiki.ogre3d.org/ManualSphereMeshes
Shadow from ninja.mesh work , but shadow of sphere not appear. See the image.
With 13.1.1 work fine. Where is my error?