summaryrefslogtreecommitdiff
path: root/modules/csg/doc_classes
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2021-04-27 18:32:25 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2021-04-27 18:32:25 +0100
commitc2f6a73e4eb42d55da01e4207cfe1cb07cbf6bc5 (patch)
tree9a120c57a9b15c11eddc78703bedc427dc2e40c1 /modules/csg/doc_classes
parentb999fbc4bd349cce153c2133dd0487694add1a05 (diff)
Update CSGMesh3D's documentation to explain how vertex normals are used
Diffstat (limited to 'modules/csg/doc_classes')
-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>