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:
parent
9067894335
commit
9bc0e9b4b7
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue