OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.89k stars 960 forks source link

[OGRE-380] DirectX11 bug when using multiple viewports #94

Open paroj opened 8 years ago

paroj commented 8 years ago

[reporter="kiter", created="Sun, 19 Jan 2014 21:03:31 +0100"]

When creating multiple viewports, the one that is partly behind the another one seems to be staying black

See post for more details and screenshot:
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=79991&sid=05152bf54f37093e04b8ed62573e405a#p501534

paroj commented 8 years ago

[author="kiter", created="Tue, 7 Oct 2014 12:10:58 +0200"]

Just tested it with 1.10 branch 8e259ad0419b006626d1b283431369d2a8af51e5 (oct 6 ) and this issue still occurs but posts in the forum thread provide work arounds ( issue is caused by ID3D11DeviceContext::ClearRenderTargetView having a different behaviour on D3D11/10 compared to 9: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476388%28v=vs.85%29.aspx )