mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-26 11:37:12 +00:00
Merge branch 'undefined_variable' into 'master'
Fix undeclared shader variable See merge request OpenMW/openmw!2070
This commit is contained in:
commit
ebdcb7acbd
@ -113,7 +113,7 @@ void main()
|
|||||||
vec3 viewNormal = gl_NormalMatrix * worldNormal;
|
vec3 viewNormal = gl_NormalMatrix * worldNormal;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (!@normalMap && (@parallax || @forcePPL))
|
#if (!@normalMap && (@parallax || @forcePPL || @softParticles))
|
||||||
vec3 viewNormal = gl_NormalMatrix * worldNormal;
|
vec3 viewNormal = gl_NormalMatrix * worldNormal;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user