From 6538f38db893fa4952a35a07101bef9df4baa7e1 Mon Sep 17 00:00:00 2001 From: Clay John Date: Mon, 13 Mar 2023 10:20:19 -0700 Subject: [PATCH] Mention Sorting Offset property in 3D rendering limitations (#6944) Co-authored-by: Hugo Locurcio --- tutorials/3d/3d_rendering_limitations.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tutorials/3d/3d_rendering_limitations.rst b/tutorials/3d/3d_rendering_limitations.rst index 52cd9874f..838bb56fa 100644 --- a/tutorials/3d/3d_rendering_limitations.rst +++ b/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 ` -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 ` +property or the node's +:ref:`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