Author Topic: Alpha Clipping a PLane  (Read 3358 times)

ddfire

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
Alpha Clipping a PLane
« on: July 01, 2013, 09:45:08 PM »
Hi,
Is there any way to Alpha Clipping a plane/cube or any other NON UIWidget?
i need to clip the non-uiwidget or be able to retrive the uv (x,y) coordinates from a uiwidget... uitexture in particular...
Vector2 pixelUV = hit.textureCoord; always return 0

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Alpha Clipping a PLane
« Reply #1 on: July 02, 2013, 12:03:19 AM »
If you write a custom shader for it -- sure. Look inside the SoftClip shader to see what happens there.