summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraXu-AP <1621768+aXu-AP@users.noreply.github.com>2023-01-25 23:30:22 +0200
committeraXu-AP <1621768+aXu-AP@users.noreply.github.com>2023-01-26 22:48:48 +0200
commit84bf7a63ba08e81b1ec61736b1ea0c9f81b3cd15 (patch)
tree491d2aa79a32a0bb4ed68743b6d5d6d204cb82cd
parent10d22a4b35b33ad89f626c261ef7f1aeae81daf3 (diff)
Add description for ArrayMesh.shadow_mesh
Update doc/classes/ArrayMesh.xml Co-Authored-By: Clay John <claynjohn@gmail.com>
-rw-r--r--doc/classes/ArrayMesh.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml
index 7b86afcc4c..6dc66194b8 100644
--- a/doc/classes/ArrayMesh.xml
+++ b/doc/classes/ArrayMesh.xml
@@ -206,6 +206,7 @@
Overrides the [AABB] with one defined by user for use with frustum culling. Especially useful to avoid unexpected culling when using a shader to offset vertices.
</member>
<member name="shadow_mesh" type="ArrayMesh" setter="set_shadow_mesh" getter="get_shadow_mesh">
+ An optional mesh which is used for rendering shadows and can be used for the depth prepass. Can be used to increase performance of shadow rendering by using a mesh that only contains vertex position data (without normals, UVs, colors, etc.).
</member>
</members>
</class>