Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: KlingOne on June 19, 2017, 07:23:53 AM

Title: 3D Geometry clipping through UI in Unity 5.6 and Dx11
Post by: KlingOne on June 19, 2017, 07:23:53 AM
Hi,

just as the title suggests I noticed weird clipping behaviour when using NGUI with Unity 5.6.
The clipping can be seen in this gif on the lefthand side.
(https://trello-attachments.s3.amazonaws.com/57714735934b6e220417481f/5947bee3f5246ba0825cdab4/6c1429594085c91b8f2996bfd9b8655d/ClippingDx11.gif)

This problem however only occurs in standalone builds while using Direct3D11.
If I disable Auto Graphics Api for Windows and force Direct3D9 everythings looks as expected.

Since we do not use any advanced Dx11 features this isn't a big problem for us but I wanted to let you know that it exists.
Title: Re: 3D Geometry clipping through UI in Unity 5.6 and Dx11
Post by: ArenMook on June 27, 2017, 11:41:11 AM
You need to make sure your UI camera is clearing depth.