Author Topic: 3.7.3 Texture Mask  (Read 2013 times)

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
3.7.3 Texture Mask
« 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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 3.7.3 Texture Mask
« Reply #1 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.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: 3.7.3 Texture Mask
« Reply #2 on: September 26, 2014, 07:30:42 AM »
I tried with UISprite an UITexture both with Unlit/Transparent Colored shader.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 3.7.3 Texture Mask
« Reply #3 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?