From f28b55b55155687b3122a105ea0ed53d20eee5ff Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 27 Jun 2021 16:45:32 +0200 Subject: Increase the default ReflectionProbe extents to Vector3(10, 10, 10) On top of having a more realistic size out of the box, this matches the default VoxelGI extents for better usability. --- doc/classes/ReflectionProbe.xml | 4 ++-- scene/3d/reflection_probe.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/classes/ReflectionProbe.xml b/doc/classes/ReflectionProbe.xml index 1d32a8b509..db01faced8 100644 --- a/doc/classes/ReflectionProbe.xml +++ b/doc/classes/ReflectionProbe.xml @@ -28,8 +28,8 @@ If [code]true[/code], computes shadows in the reflection probe. This makes the reflection probe slower to render; you may want to disable this if using the [constant UPDATE_ALWAYS] [member update_mode]. - - The size of the reflection probe. The larger the extents the more space covered by the probe which will lower the perceived resolution. It is best to keep the extents only as large as you need them. + + The size of the reflection probe. The larger the extents, the more space covered by the probe, which will lower the perceived resolution. It is best to keep the extents only as large as you need them. Defines the reflection intensity. Intensity modulates the strength of the reflection. diff --git a/scene/3d/reflection_probe.h b/scene/3d/reflection_probe.h index 15c2da3ae0..4bf20c89c5 100644 --- a/scene/3d/reflection_probe.h +++ b/scene/3d/reflection_probe.h @@ -55,7 +55,7 @@ private: RID probe; float intensity = 1.0; float max_distance = 0.0; - Vector3 extents = Vector3(1, 1, 1); + Vector3 extents = Vector3(10, 10, 10); Vector3 origin_offset = Vector3(0, 0, 0); bool box_projection = false; bool enable_shadows = false; -- cgit v1.2.3