wantNormals

wantNormals: undefined | boolean

Controls whether normals are generated for surfaces. Normals allow 3d geometry to receive lighting; without them the geometry will be unaffected by lighting. By default, normals are generated only for graphics of type GraphicType.Scene; or for any type of graphic if GraphicBuilder.wantEdges is true, because normals are required to prevent z-fighting between surfaces and their edges. This default can be overridden by explicitly specifying true or false.

see GraphicType for a description of whether and how different types of graphics are affected by lighting.

Defined in

Last Updated: 12 June, 2024