1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00

Fix typos in shaders

This commit is contained in:
Andrei Kortunov 2020-06-17 10:13:52 +04:00
parent 9067894335
commit 9bc0e9b4b7
2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ void main()
if (matSpec != vec3(0.0))
{
#if (!normalMap && !@parallax && !forcePPL)
#if (!@normalMap && !@parallax && !@forcePPL)
vec3 viewNormal = gl_NormalMatrix * normalize(passNormal);
#endif
gl_FragData[0].xyz += getSpecular(normalize(viewNormal), normalize(passViewPos.xyz), shininess, matSpec) * shadowing;

View file

@ -96,7 +96,7 @@ void main()
if (matSpec != vec3(0.0))
{
#if (!normalMap && !@parallax && !forcePPL)
#if (!@normalMap && !@parallax && !@forcePPL)
vec3 viewNormal = gl_NormalMatrix * normalize(passNormal);
#endif
gl_FragData[0].xyz += getSpecular(normalize(viewNormal), normalize(passViewPos), shininess, matSpec) * shadowing;