Browse Source

Mention Sorting Offset property in 3D rendering limitations (#6944)

Co-authored-by: Hugo Locurcio <[email protected]>
Clay John 2 năm trước cách đây
mục cha
commit
6538f38db8
1 tập tin đã thay đổi với 9 bổ sung4 xóa
  1. 9 4
      tutorials/3d/3d_rendering_limitations.rst

+ 9 - 4
tutorials/3d/3d_rendering_limitations.rst

@@ -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