summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-27 23:04:59 +0200
committerGitHub <noreply@github.com>2021-04-27 23:04:59 +0200
commit1c2766e24073314a7dff711095610e737784bd46 (patch)
treed84014df3d426d9857466718a5b99c0a080872e3 /modules
parent0582cefcbb6c4dc0f5d36000f39c627ecf5f9b70 (diff)
parentc2f6a73e4eb42d55da01e4207cfe1cb07cbf6bc5 (diff)
Merge pull request #48245 from madmiraal/fix-24111
Update CSGMesh3D's documentation to explain how vertex normals are used
Diffstat (limited to 'modules')
-rw-r--r--modules/csg/doc_classes/CSGMesh3D.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/csg/doc_classes/CSGMesh3D.xml b/modules/csg/doc_classes/CSGMesh3D.xml
index 1bab8f4ee9..babdac0e98 100644
--- a/modules/csg/doc_classes/CSGMesh3D.xml
+++ b/modules/csg/doc_classes/CSGMesh3D.xml
@@ -16,6 +16,7 @@
</member>
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
The [Mesh] resource to use as a CSG shape.
+ [b]Note:[/b] When using an [ArrayMesh], avoid meshes with vertex normals unless a flat shader is required. By default, CSGMesh will ignore the mesh's vertex normals and use a smooth shader calculated using the faces' normals. If a flat shader is required, ensure that all faces' vertex normals are parallel.
</member>
</members>
<constants>