We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b40c694 commit 466eb3cCopy full SHA for 466eb3c
Runtime/Shaders/SRPBatchingHelper.cs
@@ -18,7 +18,6 @@ public static void OptimizeMaterial(Material material)
18
if (!material.IsKeywordEnabled("_ALPHATEST_ON") && material.HasProperty(ShaderUtils.Cutoff))
19
material.SetFloat(ShaderUtils.Cutoff, 0);
20
21
- material.EnableKeyword("_ALPHATEST_ON");
22
material.DisableKeyword("_ALPHABLEND_ON");
23
material.DisableKeyword("_ENVIRONMENTREFLECTIONS_OFF");
24
material.DisableKeyword("_SPECULARHIGHLIGHTS_OFF");
0 commit comments