Created
September 19, 2026 20:27
-
-
Save ZipFile/5420596447458d1562f5d4b090296e62 to your computer and use it in GitHub Desktop.
VRChat Discard Shader
This file contains hidden or 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 "VRChat/Discard" | |
| { | |
| SubShader | |
| { | |
| Tags { "RenderType" = "TransparentCutout" "Queue" = "AlphaTest" "VRCFallback" = "Hidden"} | |
| CGPROGRAM | |
| #pragma surface surf Standard fullforwardshadows addshadow | |
| struct Input | |
| { | |
| float2 uv_MainTex; | |
| }; | |
| void surf(Input IN, inout SurfaceOutputStandard o) | |
| { | |
| clip(-1); | |
| } | |
| ENDCG | |
| } | |
| FallBack Off | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment