From 5812e12d804fc47e1260e52a92e39705e3056364 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 11 Mar 2021 22:32:41 +0100 Subject: Fix accumulation textures format and reset accumulation on move/resize --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.cpp') diff --git a/src/utils.cpp b/src/utils.cpp index 3b7c445..5ed2c17 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -97,7 +97,7 @@ struct input_data create_inputs(uint32_t width, uint32_t height, uint32_t sample // Image dimensions const float aspect_ratio = (float)width / (float) height; - const uint32_t max_depth = 20; + const uint32_t max_depth = 50; const vec3 camera_position{ 13.0, 2.0, 3.0 }; const vec3 camera_target{ 0.0, 0.0, 0.0 }; -- cgit v1.3