mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
10 lines
246 B
GLSL
10 lines
246 B
GLSL
#version 430 core
|
|
in vec2 TexCoords;
|
|
out vec4 FragColor;
|
|
|
|
layout (binding = 0, rgba32f) uniform image2D screenTexture;
|
|
|
|
void main() {
|
|
FragColor = imageLoad(screenTexture, ivec2(gl_FragCoord.xy));
|
|
// FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
|
} |