diff options
author | clayjohn <claynjohn@gmail.com> | 2023-01-19 19:44:20 -0800 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2023-01-20 09:58:17 -0800 |
commit | 49bebf2bfb490d9e2e9ae8ce7fd81fb8c1d967ae (patch) | |
tree | 936fc5aecf8ef1e02a233871f2e7c3080bac8dc0 /doc/classes | |
parent | 360b61084a4a5bc0f9577212a3079430601b3408 (diff) |
Sort decals and lights based on camera origin
Also implement sort_offset for decals
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/VisualInstance3D.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/VisualInstance3D.xml b/doc/classes/VisualInstance3D.xml index e069642e50..3781045c02 100644 --- a/doc/classes/VisualInstance3D.xml +++ b/doc/classes/VisualInstance3D.xml @@ -64,7 +64,7 @@ <member name="sorting_offset" type="float" setter="set_sorting_offset" getter="get_sorting_offset" default="0.0"> The sorting offset used by this [VisualInstance3D]. Adjusting it to a higher value will make the [VisualInstance3D] reliably draw on top of other [VisualInstance3D]s that are otherwise positioned at the same spot. </member> - <member name="sorting_use_aabb_center" type="bool" setter="set_sorting_use_aabb_center" getter="is_sorting_use_aabb_center" default="true"> + <member name="sorting_use_aabb_center" type="bool" setter="set_sorting_use_aabb_center" getter="is_sorting_use_aabb_center"> If [code]true[/code], the object is sorted based on the [AABB] center. The object will be sorted based on the global position otherwise. The [AABB] center based sorting is generally more accurate for 3D models. The position based sorting instead allows to better control the drawing order when working with [GPUParticles3D] and [CPUParticles3D]. </member> |