Author Topic: ngui panel texture mask bug  (Read 3723 times)

phamPhong

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
ngui panel texture mask bug
« on: August 14, 2017, 01:04:31 AM »
Hi everyone,

I'm new to ngui, today i need to work with ngui and discover a bug with texture mask in UI panel


As you can see, the picture some how was drawn outside the mask. Please help me how to fix it, many thanks.

phamPhong

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: ngui panel texture mask bug
« Reply #1 on: August 14, 2017, 01:07:41 AM »
sorry everyone, here the picture


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: ngui panel texture mask bug
« Reply #2 on: August 14, 2017, 02:05:31 AM »
That picture really doesn't tell me anything about your mask. Just do a simple test: Make a new scene, ALT+SHIFT+S to add a sprite, right click it to add a scroll view, change that scroll view to use a Texture Mask clipping type and assign some texture with an alpha mask. Make sure the texture is set to "Clamp" Wrap Mode. My guess is yours isn't.

phamPhong

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: ngui panel texture mask bug
« Reply #3 on: August 14, 2017, 10:33:31 PM »
Ah i see, many thanks, my texture wrap mode is still in repeat mode :)