+ | Define system + denoising back

This commit is contained in:
TheRedShip
2025-02-13 23:18:04 +01:00
parent 9b8da6ebd8
commit 4ddacdaadd
14 changed files with 376 additions and 319 deletions

View File

@ -1,10 +1,9 @@
#version 430 core
in vec2 TexCoords;
out vec4 FragColor;
layout (binding = 0, rgba32f) uniform image2D screenTexture;
uniform sampler2D screenTexture;
void main() {
FragColor = imageLoad(screenTexture, ivec2(gl_FragCoord.xy));
// FragColor = vec4(1.0, 0.0, 0.0, 1.0);
// FragColor = imageLoad(screenTexture, ivec2(gl_FragCoord.xy));
FragColor = texture(screenTexture, TexCoords);
}