mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
~ | Small fix
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user