mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Mention Sorting Offset property in 3D rendering limitations (#6944)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
co-authored by
Hugo Locurcio
parent
a166f7c483
commit
6538f38db8
@@ -96,10 +96,15 @@ Transparency sorting
|
||||
In Godot, transparent materials are drawn after opaque materials. Transparent
|
||||
objects are sorted back to front before being drawn based on the Node3D's
|
||||
position, not the vertex position in world space. Due to this, overlapping
|
||||
objects may often be sorted out of order. To fix improperly sorted objects, tweak
|
||||
the material's :ref:`Render Priority <class_Material_property_render_priority>`
|
||||
property. This will force specific materials to appear in front or behind of
|
||||
other transparent materials. Even then, this may not always be sufficient.
|
||||
objects may often be sorted out of order. To fix improperly sorted objects,
|
||||
tweak the material's
|
||||
:ref:`Render Priority <class_Material_property_render_priority>`
|
||||
property or the node's
|
||||
:ref:`Sorting Offset <class_VisualInstance3D_property_sorting_offset>`.
|
||||
Render Priority will force specific materials to appear in front of or behind
|
||||
other transparent materials, while Sorting Offset will move the object
|
||||
forward or backward for the purpose of sorting. Even then, these may not
|
||||
always be sufficient.
|
||||
|
||||
Some rendering engines feature *order-independent transparency* techniques to
|
||||
alleviate this, but this is costly on the GPU. Godot currently doesn't provide
|
||||
|
||||
Reference in New Issue
Block a user