File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,15 @@ Transparency sorting
9696In Godot, transparent materials are drawn after opaque materials. Transparent
9797objects are sorted back to front before being drawn based on the Node3D's
9898position, not the vertex position in world space. Due to this, overlapping
99- objects may often be sorted out of order. To fix improperly sorted objects, tweak
100- the material's :ref: `Render Priority <class_Material_property_render_priority >`
101- property. This will force specific materials to appear in front or behind of
102- other transparent materials. Even then, this may not always be sufficient.
99+ objects may often be sorted out of order. To fix improperly sorted objects,
100+ tweak the material's
101+ :ref: `Render Priority <class_Material_property_render_priority >`
102+ property or the node's
103+ :ref: `Sorting Offset <class_VisualInstance3D_property_sorting_offset >`.
104+ Render Priority will force specific materials to appear in front of or behind
105+ other transparent materials, while Sorting Offset will move the object
106+ forward or backward for the purpose of sorting. Even then, these may not
107+ always be sufficient.
103108
104109Some rendering engines feature *order-independent transparency * techniques to
105110alleviate this, but this is costly on the GPU. Godot currently doesn't provide
You can’t perform that action at this time.
0 commit comments