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:
parent
b0907f8929
commit
e22ab64ebf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue