diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-26 23:00:06 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-26 23:00:06 +0100 |
commit | d1277f5cba2c2ce243715ddf18bd937734d8efd8 (patch) | |
tree | ff82db488612acdd4aa1039528781a3be0f440c1 /doc | |
parent | 5d18a0e829055ba87f90859e7ac880ff5bb004fd (diff) | |
parent | 84bf7a63ba08e81b1ec61736b1ea0c9f81b3cd15 (diff) |
Merge pull request #72079 from aXu-AP/arraymesh-shadow-mesh-doc
Add description for ArrayMesh.shadow_mesh class reference
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/ArrayMesh.xml | 1 |
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> |