Merge pull request #2914 from akortunov/master

Fix typos in shaders
pull/578/head
Andrei Kortunov 5 years ago committed by GitHub
commit 50d692a097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

@ -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;

Loading…
Cancel
Save