mirror of
https://github.com/godotengine/godot
synced 2024-09-05 12:58:29 +00:00
Merge pull request #72079 from aXu-AP/arraymesh-shadow-mesh-doc
Add description for ArrayMesh.shadow_mesh class reference
This commit is contained in:
commit
d1277f5cba
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue