gzdoom/wadsrc/static/shaders/scene/grayscale.glsl

8 lines
103 B
Text
Raw Normal View History

2023-03-19 06:18:12 +00:00
// Color to grayscale
float grayscale(vec4 color)
{
return dot(color.rgb, vec3(0.3, 0.56, 0.14));
}