Skip to content

Commit 466eb3c

Browse files
authored
chore: remove forced alphatest from srp batching helper (#19)
1 parent b40c694 commit 466eb3c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Runtime/Shaders/SRPBatchingHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public static void OptimizeMaterial(Material material)
1818
if (!material.IsKeywordEnabled("_ALPHATEST_ON") && material.HasProperty(ShaderUtils.Cutoff))
1919
material.SetFloat(ShaderUtils.Cutoff, 0);
2020

21-
material.EnableKeyword("_ALPHATEST_ON");
2221
material.DisableKeyword("_ALPHABLEND_ON");
2322
material.DisableKeyword("_ENVIRONMENTREFLECTIONS_OFF");
2423
material.DisableKeyword("_SPECULARHIGHLIGHTS_OFF");

0 commit comments

Comments
 (0)