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