Pārlūkot izejas kodu

Update CSGMesh3D's documentation to explain how vertex normals are used

Marcel Admiraal 4 gadi atpakaļ
vecāks
revīzija
c2f6a73e4e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      modules/csg/doc_classes/CSGMesh3D.xml

+ 1 - 0
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>