Closed corentinjaffre closed 4 years ago
There is special logic in MyGUI_OgreRenderManager.cpp for the DX11, could you try it for DX9 and 12?
if (mRenderSystem->getName() == "Direct3D11 Rendering Subsystem") // special case, it's not working with the value returned by the rendersystem { mInfo.maximumDepth = 0.0f; } else { mInfo.maximumDepth = mRenderSystem->getMaximumDepthInputValue(); }
I forced
mInfo.maximumDepth = 0.0f;
And it fixes the rendering with dx9. Thanks a lot for your quick answer Altren!
1.11.6 and the latest MyGUI works perfectly. 1.12.x breaks MyGUI and it doesn't render anything with DirectX9.