1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00

Fix typo in lighting.glsl

This commit is contained in:
AnyOldName3 2018-10-22 17:35:01 +01:00
parent b0907f8929
commit e22ab64ebf

View file

@ -27,7 +27,7 @@ vec4 doLighting(vec3 viewPos, vec3 viewNormal, vec4 vertexColor, out vec3 shadow
if (colorMode == 3) if (colorMode == 3)
{ {
diffuse = gl_FrontMaterial.diffuse; diffuse = gl_FrontMaterial.diffuse;
ambient - vertexColor.xyz; ambient = vertexColor.xyz;
} }
else if (colorMode == 2) else if (colorMode == 2)
{ {