setNormals operation

setNormals(normalsMode)

normalsMode selector

hardUse the face normals. This is equivalent to softenNormals(0).
conformSame as hard. Computes consistent normals using the connectivity and a heuristic that favors the world's up direction.
softFor each vertex, use the average of the adjacent face normals. This is equivalent to softenNormals(180).
autoSame as soft except that edges where face normals meet at an angle greater than or equal to 30 degrees are shaded as hard edges. This is equivalent to softenNormals(30).
The soft and auto modes require disconnected shapes to be combined and duplicate vertices to be merged in order to compute vertex normals using adjacent face normals.
The conform mode is not successful in every case.

If the conform mode is not successful consider the following options:

The setNormals operation sets the normals of the current shapes' geometry to the desired mode.

Related

Examples

Shaded Sphere

Consistent normals