Author Topic: Irregular shaped (ie, not rectangular shaped) clipping  (Read 12540 times)

fengshuifever

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 8
    • View Profile
Irregular shaped (ie, not rectangular shaped) clipping
« on: June 14, 2016, 04:35:09 AM »
Hi,

I was wondering if irregular shaped clipping is supported at all. I had a quick glance at some posts from 2013 that suggested using Unity's cutout shader/depth mask.

What I'm trying to do is mask a slider bar (for health) behind a triangular shape.

Thanks in advance!

wizardsmoke

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 5
  • Posts: 40
    • View Profile
Re: Irregular shaped (ie, not rectangular shaped) clipping
« Reply #1 on: June 14, 2016, 09:53:38 AM »
You can use the "Texture Mask" clipping option on UIPanel.