gzdoom-gles/wadsrc/static/shaders/glsl/exposureextract.fp
2018-06-11 21:18:20 +02:00

11 lines
224 B
GLSL

in vec2 TexCoord;
out vec4 FragColor;
uniform sampler2D SceneTexture;
void main()
{
vec4 color = texture(SceneTexture, Offset + TexCoord * Scale);
FragColor = vec4(max(max(color.r, color.g), color.b), 0.0, 0.0, 1.0);
}