mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-13 22:20:57 +00:00
ce50b0e46b
Works for most shaders, except SSAO.
11 lines
261 B
GLSL
11 lines
261 B
GLSL
|
|
in vec2 TexCoord;
|
|
layout(location=0) out vec4 FragColor;
|
|
|
|
layout(binding=0) 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);
|
|
}
|