Skip to content

Commit

Permalink
fix ReflectionProbe rendering extents for (10,10,10)
Browse files Browse the repository at this point in the history
  • Loading branch information
jainl28patel committed Jan 23, 2023
1 parent 9937915 commit 2da3acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gles3/storage/light_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion servers/rendering/renderer_rd/storage_rd/light_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class LightStorage : public RendererLightStorage {
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;
Expand Down

0 comments on commit 2da3acf

Please sign in to comment.