fix error when POM is enabled

This commit is contained in:
Xonk
2025-02-25 22:23:50 -05:00
parent 8a1bdcb9ca
commit 232e5304a8
3 changed files with 30 additions and 49 deletions

View File

@ -324,7 +324,6 @@ vec3 specularReflections(
vec3 reflectedVector_L = reflect(playerPos, normal);
#endif
float shlickFresnel = shlickFresnelRoughness(dot(-normalize(viewDir), vec3(0.0,0.0,1.0)), roughness);
#if defined FORWARD_SPECULAR && defined SNELLS_WINDOW