Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jeldrez on September 25, 2014, 01:16:31 PM

Title: 3.7.3 Texture Mask
Post 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
Title: Re: 3.7.3 Texture Mask
Post by: ArenMook on September 25, 2014, 07:46:45 PM
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.
Title: Re: 3.7.3 Texture Mask
Post by: jeldrez on September 26, 2014, 07:30:42 AM
I tried with UISprite an UITexture both with Unlit/Transparent Colored shader.
Title: Re: 3.7.3 Texture Mask
Post by: ArenMook on September 27, 2014, 06:21:04 PM
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?