Operating System: Win10 x64
Render System: DX9/DX11
I upgraded my program from Ogre 1.12.7 to 1.12.9. With 1.12.7 all worked fine. I use DX11 and RTSS. The scene is loaded with the new DotScene plugin.
After the upgrade 'renderOneFrame' throws an exception. The current exceptions says that Ogre cannot find "FFPLib_Common.glsl".
I didn't change anythink in my code. I also deleted the old Media folder and use the new ones. What could be the problem? As I wrote: with 1.12.7 all works fine. I am a little confused atm and have no idea where to look first for the problem.
And when switching back to DX9, I have no exception, but my scene is empty?!
Edit: These are the media folders which I load:
Code: Select all
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./materials/Media/RTShaderLib/materials", "FileSystem", Ogre::ResourceGroupManager::INTERNAL_RESOURCE_GROUP_NAME);
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./materials/Media/RTShaderLib/HLSL_Cg", "FileSystem", Ogre::ResourceGroupManager::INTERNAL_RESOURCE_GROUP_NAME);
Ogre::ResourceGroupManager::getSingleton().addResourceLocation("./materials/Media/ShadowVolume", "FileSystem", Ogre::ResourceGroupManager::INTERNAL_RESOURCE_GROUP_NAME);
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_1weight' failed
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_1weight' failed
09:15:55: Program '7e29516ebce55cc629d101675e435831_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Program '1bf45ca5c4d79c6893c9633c5a60b4b9_FS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_2weight' failed
09:15:55: Program '72dcbbb6c5be4ba9e248607da20728d4_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_3weight' failed
09:15:55: Program 'd318d6172bb01a3d879b29e32c89d41b_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_4weight' failed
09:15:55: Program 'bf3ee6acdccf41d84cb1e34b7d83f1c7_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_1weight_twophase' failed
09:15:55: Program '4dbe69f6663aa2b7cba79494ac27debc_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_2weight_twophase' failed
09:15:55: Program 'c2a4404c46e783e460261537236ae58e_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_3weight_twophase' failed
09:15:55: Program '5aa32ba2b4e07b8a1996c0e61ed2b7e4_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_dq_skinning_4weight_twophase' failed
09:15:55: Program '2f4a11e5242a86c216bcbcb84de57b17_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_skinning_1weight' failed
09:15:55: Program 'f1f7e4a4cc84eab1248265071b3a25d7_VS' is not supported: Cannot locate resource OgreUnifiedShader.h in resource group OgreInternal.
09:15:55: Error: RTSS - creating GpuPrograms for pass 0 of 'Ogre/RTShader/shadow_caster_skinning_2weight' failed