mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +00:00
15 lines
178 B
Plaintext
15 lines
178 B
Plaintext
in vec2 Texcoord;
|
|
|
|
OUTPUT
|
|
|
|
uniform sampler2D tex;
|
|
|
|
void main()
|
|
{
|
|
vec4 c = texture(tex, Texcoord);
|
|
|
|
float val = (c.r + c.g + c.b) / 10.0;
|
|
|
|
outColor = vec4(val, val, val, 1);
|
|
}
|