From 42312d7d4d922dcc81cbe6ac60eaa4f3715659c9 Mon Sep 17 00:00:00 2001 From: 31 <31eee384@gmail.com> Date: Sat, 13 Jun 2020 17:26:51 -0500 Subject: [PATCH] Fix Material.render_priority doc: no opaque sort Opaque objects are rendered using the depth buffer, so the end result appears sorted, but the opaque objects themselves are not sorted. (cherry picked from commit 608bc8f3dc91930a7d1fc853e6fd8059434de973) --- doc/classes/Material.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Material.xml b/doc/classes/Material.xml index ac7b94fb502..c271575b159 100644 --- a/doc/classes/Material.xml +++ b/doc/classes/Material.xml @@ -17,7 +17,7 @@ Sets the render priority for transparent objects in 3D scenes. Higher priority objects will be sorted in front of lower priority objects. - [b]Note:[/b] this only applies to sorting of transparent objects. This will not impact how transparent objects are sorted relative to opaque objects. This is because opaque objects are sorted based on depth, while transparent objects are sorted from back to front (subject to priority). + [b]Note:[/b] this only applies to sorting of transparent objects. This will not impact how transparent objects are sorted relative to opaque objects. This is because opaque objects are not sorted, while transparent objects are sorted from back to front (subject to priority).