gzdoom/wadsrc/static/shaders/scene/grayscale.glsl
2023-09-25 21:18:57 +02:00

7 lines
103 B
GLSL

// Color to grayscale
float grayscale(vec4 color)
{
return dot(color.rgb, vec3(0.3, 0.56, 0.14));
}