~ | Fixing path

This commit is contained in:
TheRedShip
2025-02-22 17:51:59 +01:00
committed by tomoron
parent 4b32b3b19f
commit fab9bead64
3 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@ void main()
totalWeight += weight;
}
}
light /= totalWeight;
light * (1.0 / totalWeight);
if (u_pass == u_pass_count - 1)
{
vec4 color = light * imageLoad(color_texture, pixel_coords);