1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Fix undeclared shader variable

This commit is contained in:
Cody Glassman 2022-07-01 14:34:59 +00:00 committed by uramer
parent 7a28d590ef
commit 03616ae2d3

View File

@ -113,7 +113,7 @@ void main()
vec3 viewNormal = gl_NormalMatrix * worldNormal;
#endif
#if (!@normalMap && (@parallax || @forcePPL))
#if (!@normalMap && (@parallax || @forcePPL || @softParticles))
vec3 viewNormal = gl_NormalMatrix * worldNormal;
#endif