summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-11-21 15:12:28 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-11-22 14:41:45 -0300
commit81213917d11f9e177db0f0363ee42ff5a47a21dc (patch)
tree98b6f1953d2c3b5d9290237bf435947e86af3b15
parentba891a0e8b135c61097cc1f696bd684588c225c7 (diff)
change default propagation value
-rw-r--r--scene/3d/gi_probe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/gi_probe.cpp b/scene/3d/gi_probe.cpp
index 05d5d52d28..2754d56a05 100644
--- a/scene/3d/gi_probe.cpp
+++ b/scene/3d/gi_probe.cpp
@@ -410,7 +410,7 @@ static bool planeBoxOverlap(Vector3 normal, float d, Vector3 maxbox) {
rad = fa * boxhalfsize.x + fb * boxhalfsize.z; \
if (min > rad || max < -rad) return false;
- /*======================== Z-tests ========================*/
+/*======================== Z-tests ========================*/
#define AXISTEST_Z12(a, b, fa, fb) \
p1 = a * v1.x - b * v1.y; \
@@ -1511,7 +1511,7 @@ GIProbe::GIProbe() {
energy = 1.0;
bias = 1.5;
normal_bias = 0.0;
- propagation = 1.0;
+ propagation = 0.7;
extents = Vector3(10, 10, 10);
color_scan_cell_width = 4;
bake_texture_size = 128;