Last active
June 27, 2019 12:59
-
-
Save Estecka/99bc699ceea944c4a6c026d1f6e9d432 to your computer and use it in GitHub Desktop.
An invisible shader that still masks everything behind it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Estecka/Depth Mask" { | |
SubShader { | |
Tags { "RenderType" = "Opaque" } | |
Blend Zero One | |
Pass{} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment