Author Topic: Custom-shape clipping mask in NGUI??  (Read 2289 times)

aofhd15

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Custom-shape clipping mask in NGUI??
« on: May 28, 2014, 10:03:28 AM »
In UIPanel, I could make clipping mask that is only Square-shape..(or rectangle.)
Can I make custom-shape clipping mask like that picture attached below?
Should I have to learn to make shader?

Sorry about Bad English. I hope you answer.


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Custom-shape clipping mask in NGUI??
« Reply #1 on: May 29, 2014, 05:58:16 AM »
No, this isn't possible using panels. You can do it using stencil buffers using regular Unity's functionality, or alpha masks. Both require creation of shaders.