From a68c88adfdd3304f95643f0dddc5d594a980e643 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Tue, 27 Apr 2021 18:37:19 +0100 Subject: [PATCH] Update CSGMesh3D's documentation to explain how vertex normals are used --- modules/csg/doc_classes/CSGMesh.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/csg/doc_classes/CSGMesh.xml b/modules/csg/doc_classes/CSGMesh.xml index cb53c28bc7c..92d5b756cad 100644 --- a/modules/csg/doc_classes/CSGMesh.xml +++ b/modules/csg/doc_classes/CSGMesh.xml @@ -16,6 +16,7 @@ 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.