From fa7d43653e13965dd7c85777dd38624d49dccecb Mon Sep 17 00:00:00 2001 From: Apoorva Joshi Date: Wed, 5 Jul 2023 16:41:12 +0200 Subject: [PATCH] Increase sample count --- libraries/pbrlib/genglsl/lib/mx_pre_convolve_environment.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/pbrlib/genglsl/lib/mx_pre_convolve_environment.glsl b/libraries/pbrlib/genglsl/lib/mx_pre_convolve_environment.glsl index ce3169d620..fe05fae8d4 100644 --- a/libraries/pbrlib/genglsl/lib/mx_pre_convolve_environment.glsl +++ b/libraries/pbrlib/genglsl/lib/mx_pre_convolve_environment.glsl @@ -124,7 +124,7 @@ vec3 mx_pre_convolve_environment() // If we use prefiltering, we can have a smaller sample count, since pre-filtering will reduce // the variance of the samples by choosing higher mip levels where necessary. We haven't // implemented prefiltering yet, so we use a high sample count. - int sampleCount = 610; // Must be a Fibonacci number + int sampleCount = 1597; // Must be a Fibonacci number float3 lightInt = float3(0.0, 0.0, 0.0); float cbsdfInt = 0.0;