mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
12 lines
280 B
Text
12 lines
280 B
Text
|
|
||
|
layout(location=0) 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);
|
||
|
}
|