Guest User

Unity Depth Clear Shader

a guest
Oct 16th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1.  
  2. Shader "Mask/DepthClear"
  3. {
  4. SubShader
  5. {
  6. Tags { "RenderType" = "Opaque" "PerformanceChecks" = "False" "Queue" = "Geometry" }
  7.  
  8. Offset 0, 2047483640 // Offset back as much as possible
  9. ZTest Always
  10. ZWrite On
  11. ColorMask 0
  12.  
  13. Pass
  14. {
  15. }
  16. }
  17.  
  18. FallBack Off
  19. }
Add Comment
Please, Sign In to add comment