Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: jeldrez on September 25, 2014, 01:16:31 PM
-
Hi Aren,
I tried the new Texture Mask feature and I really like it, but the child textures isn't clipping outside panel dimensions.
I've attached a screenshot with the example. In pink is the UIPanel dimensions and I move the child image but it goes out of the clipping area.
Thanks,
Emilio
-
Child textures? If you're talking about a UITexture you need to make sure that the material it's using has an Unlit/Transparent Colored shader.
-
I tried with UISprite an UITexture both with Unlit/Transparent Colored shader.
-
So I'm not quite clear on what you're saying here... you said like the feature, but according to your pic it doesn't seem to be working at all? Did you ensure that the newly added TextureClip shaders are present? Is a widget a child of the panel set to Texture Mask?