Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: jpm on August 18, 2012, 01:19:44 PM
-
I have dynamically created UITexture instances inside a UIDraggablePanel. When the UITextures are dragged out of UIDraggablePanel bounds, they are still visible. Other widgets (UISprites and UILabels) work fine, they aren't rendered when outside UIDraggablePanel bounds.
Is this a depth problem? I've tried setting the UITexture instance's depth to 0 but it still gets rendered above/outside of the UIDraggablePanel.
I hope there's a solution to this. Thanks in advance! :)
-
You need to use Unlit/Transparent Colored shader, or clipping won't work. Alternative is for you to create your own clipping-enabled shaders for whatever shader you're using.
-
Cool it worked! Thanks! :)