- restored initial grayscale conversion in fragment shader

Accidental change of red color multiplier was discovered during investigation of https://forum.zdoom.org/viewtopic.php?t=61126
This commit is contained in:
alexey.lysiuk 2018-07-02 17:31:48 +03:00
parent 2e5b7a7d8b
commit c29651da95

View file

@ -25,7 +25,7 @@ vec3 ProcessMaterial(vec3 material, vec3 color);
float grayscale(vec4 color)
{
return dot(color.rgb, vec3(0.4, 0.56, 0.14));
return dot(color.rgb, vec3(0.3, 0.56, 0.14));
}
//===========================================================================