Skip to content

Commit

Permalink
Increase sample count for accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm committed Dec 29, 2023
1 parent 00c47a6 commit d82c08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/pbrlib/genglsl/lib/mx_prefilter_environment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ vec3 mx_prefilter_environment()
// Integrate the LD term for the given environment and alpha.
vec3 radiance = vec3(0.0, 0.0, 0.0);
float weight = 0.0;
int envRadianceSamples = 256;
int envRadianceSamples = 1024;
for (int i = 0; i < envRadianceSamples; i++)
{
vec2 Xi = mx_spherical_fibonacci(i, envRadianceSamples);
Expand Down

0 comments on commit d82c08b

Please sign in to comment.