+ Better camera and scene change

This commit is contained in:
TheRedShip
2025-01-02 17:10:09 +01:00
parent 5d92a82b66
commit 1c619b76d1
3 changed files with 11 additions and 10 deletions

View File

@ -134,6 +134,7 @@ void main()
Ray ray = Ray(u_cameraPosition, ray_direction);
vec3 color = pathtrace(ray, uv);
// color = vec3(sqrt(color.x), sqrt(color.y), sqrt(color.z));
float blend = 1.0 / float(u_frameCount + 1);
vec4 accum = imageLoad(accumulation_image, pixel_coords);