summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-11-26 00:50:17 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-12-08 00:28:17 +0100
commitc5550108c808c435c3d8368b066250a6c3df7f2c (patch)
treeb4f46f2a1c18e21181ce0ec5e0f21f53bcd609a3 /servers/rendering/renderer_rd
parentff118d7a88f56bce1f35a0c700521b0c63cec32c (diff)
Decrease the default dynamic range in VoxelGIData to 2.0
This reduces visible banding in indirect lighting and reflections. Sharp reflections now match more closely the original scene. The downside of this change is that clipping may appear in reflections in extremely bright scenes, but this should not be a concern in most scenes.
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r--servers/rendering/renderer_rd/renderer_storage_rd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/renderer_storage_rd.h b/servers/rendering/renderer_rd/renderer_storage_rd.h
index 9a64480c3e..d86d1d84c5 100644
--- a/servers/rendering/renderer_rd/renderer_storage_rd.h
+++ b/servers/rendering/renderer_rd/renderer_storage_rd.h
@@ -1099,7 +1099,7 @@ private:
AABB bounds;
Vector3i octree_size;
- float dynamic_range = 4.0;
+ float dynamic_range = 2.0;
float energy = 1.0;
float bias = 1.4;
float normal_bias = 0.0;