summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjainl28patel <jainilpatel2003@gmail.com>2023-01-23 17:13:42 +0530
committerjainl28patel <jainilpatel2003@gmail.com>2023-01-24 00:32:24 +0530
commit2da3acf620555cd2d0ffcb9b7d7df9717f55b825 (patch)
tree0759dd75fc5fa05990f28841edbbe67c28e8e044
parent9937915ad77059b63582ffd4e324afb26f467b76 (diff)
fix ReflectionProbe rendering extents for (10,10,10)
-rw-r--r--drivers/gles3/storage/light_storage.h2
-rw-r--r--servers/rendering/renderer_rd/storage_rd/light_storage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gles3/storage/light_storage.h b/drivers/gles3/storage/light_storage.h
index a304b6a265..8b2bdaf872 100644
--- a/drivers/gles3/storage/light_storage.h
+++ b/drivers/gles3/storage/light_storage.h
@@ -113,7 +113,7 @@ struct ReflectionProbe {
Color ambient_color;
float ambient_color_energy = 1.0;
float max_distance = 0;
- Vector3 extents = Vector3(1, 1, 1);
+ Vector3 extents = Vector3(10, 10, 10);
Vector3 origin_offset;
bool interior = false;
bool box_projection = false;
diff --git a/servers/rendering/renderer_rd/storage_rd/light_storage.h b/servers/rendering/renderer_rd/storage_rd/light_storage.h
index f7c8b8833b..d359219128 100644
--- a/servers/rendering/renderer_rd/storage_rd/light_storage.h
+++ b/servers/rendering/renderer_rd/storage_rd/light_storage.h
@@ -226,7 +226,7 @@ private:
Color ambient_color;
float ambient_color_energy = 1.0;
float max_distance = 0;
- Vector3 extents = Vector3(1, 1, 1);
+ Vector3 extents = Vector3(10, 10, 10);
Vector3 origin_offset;
bool interior = false;
bool box_projection = false;