Skip to content

Instantly share code, notes, and snippets.

@ZipFile
Created September 19, 2026 20:27
Show Gist options
  • Select an option

  • Save ZipFile/5420596447458d1562f5d4b090296e62 to your computer and use it in GitHub Desktop.

Select an option

Save ZipFile/5420596447458d1562f5d4b090296e62 to your computer and use it in GitHub Desktop.
VRChat Discard Shader
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