- fix typo

This commit is contained in:
Magnus Norddahl 2018-11-20 13:54:18 +01:00
parent 216191c86d
commit 96df21e3dc
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ void main()
gl_ClipDistance[4] = worldcoord.y - ((uSplitBottomPlane.w + uSplitBottomPlane.x * worldcoord.x + uSplitBottomPlane.y * worldcoord.z) * uSplitBottomPlane.z); gl_ClipDistance[4] = worldcoord.y - ((uSplitBottomPlane.w + uSplitBottomPlane.x * worldcoord.x + uSplitBottomPlane.y * worldcoord.z) * uSplitBottomPlane.z);
} }
vWorldNormal = NormalModelMatrix * vec4(normalize(mix(aNormal.xyz. aNormal2.xyz, uInterpolationFactor)), 1.0); vWorldNormal = NormalModelMatrix * vec4(normalize(mix(aNormal.xyz, aNormal2.xyz, uInterpolationFactor)), 1.0);
vEyeNormal = NormalViewMatrix * vWorldNormal; vEyeNormal = NormalViewMatrix * vWorldNormal;
#endif #endif