~ | Small fix

This commit is contained in:
TheRedShip
2025-02-16 16:17:00 +01:00
parent 0c2549390d
commit 75045fd1da
7 changed files with 65 additions and 31 deletions

View File

@ -34,7 +34,6 @@ void main()
float totalWeight = 0.;
vec4 light = vec4(vec3(0.), 1.0);
for (int x = -2; x <= 2; x++)
{
for (int y = -2; y <= 2; y++)
@ -72,7 +71,7 @@ void main()
if (u_pass == u_pass_count - 1)
{
vec4 color = light * imageLoad(color_texture, pixel_coords);
imageStore(output_texture, pixel_coords, color);
imageStore(output_texture, pixel_coords, sqrt(color));
return;
}