diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-07-05 18:30:56 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-07-05 18:32:44 +0200 |
commit | aa9403bcdaa459bd490cf854ffdf71963a39d5bb (patch) | |
tree | d5681cef29a04dd0868528a46df01785eead5954 /doc | |
parent | 5f386fecf0769626e19d6bb42e11f7663659d9b6 (diff) |
Clamp VoxelGI extents to reasonable values to avoid breaking baking
This also prevents crashes when resizing a VoxelGI's extents to 0
on any axis.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/VoxelGI.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/VoxelGI.xml b/doc/classes/VoxelGI.xml index 55ba1c4934..d941185d33 100644 --- a/doc/classes/VoxelGI.xml +++ b/doc/classes/VoxelGI.xml @@ -37,6 +37,7 @@ </member> <member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3(10, 10, 10)"> The size of the area covered by the [VoxelGI]. If you make the extents larger without increasing the subdivisions with [member subdiv], the size of each cell will increase and result in lower detailed lighting. + [b]Note:[/b] Extents are clamped to 1.0 unit or more on each axis. </member> <member name="subdiv" type="int" setter="set_subdiv" getter="get_subdiv" enum="VoxelGI.Subdiv" default="1"> Number of times to subdivide the grid that the [VoxelGI] operates on. A higher number results in finer detail and thus higher visual quality, while lower numbers result in better performance. |