1. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  2. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  3. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice

Unity UI Shader that hides what is behind it.

Discussion in 'Unity UI & TextMesh Pro' started by _Daniel_, Jul 16, 2017 at 8:52 PM.

  1. _Daniel_

    _Daniel_

    Joined:
    Feb 28, 2007
    Posts:
    2,366
    Does anyone have a UI shader that essentially cuts a hole in the UI? I tried the DepthMask shader from the wiki with no luck. Everything behind the image would be invisible revealing the camera that is behind.