mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- 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:
parent
2e5b7a7d8b
commit
c29651da95
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
Loading…
Reference in a new issue