Hi @dark_sylinc,
I updated to the newest OgreNext version and now getting those VertexShader errors:
Code: Select all
12:28:30: OGRE EXCEPTION(-2147467259:RenderingAPIException): Cannot compile D3D11 high-level shader 700000000VertexShader_vs Errors:
(577,24-39): error X3004: undeclared identifier 'worldMaterialIdx'
in D3D11HLSLProgram::compileMicrocode at E:\Ogre2.2SDK\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 558)
12:28:30: High-level program 700000000VertexShader_vs encountered an error during loading and is thus not supported.
OGRE EXCEPTION(-2147467259:RenderingAPIException): Cannot compile D3D11 high-level shader 700000000VertexShader_vs Errors:
(577,24-39): error X3004: undeclared identifier 'worldMaterialIdx'
in D3D11HLSLProgram::compileMicrocode at E:\Ogre2.2SDK\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 558)
12:28:30: OGRE EXCEPTION(-2147467259:RenderingAPIException): Cannot compile D3D11 high-level shader 700000001VertexShader_vs Errors:
(604,24-39): error X3004: undeclared identifier 'worldMaterialIdx'
in D3D11HLSLProgram::compileMicrocode at E:\Ogre2.2SDK\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 558)
12:28:30: High-level program 700000001VertexShader_vs encountered an error during loading and is thus not supported.
OGRE EXCEPTION(-2147467259:RenderingAPIException): Cannot compile D3D11 high-level shader 700000001VertexShader_vs Errors:
(604,24-39): error X3004: undeclared identifier 'worldMaterialIdx'
in D3D11HLSLProgram::compileMicrocode at E:\Ogre2.2SDK\RenderSystems\Direct3D11\src\OgreD3D11HLSLProgram.cpp (line 558)
Note: If I deactivate Terra, everything works fine. Hence It has something todo with the terra Hmls?
How can this be solved?
Also please take a look at this topic:
As it would be a really nice feature for ogre supporting splitscreen
Best Regards
Lax