Sometimes a geometry already has pre-computed normals, you can find them at: geometry.attributes.normal
(they are per vertex, of course).
Or, if you create a custom geometry, you can make your life easier, calling .computeVertexNormals()
.
Sometimes a geometry already has pre-computed normals, you can find them at: geometry.attributes.normal
(they are per vertex, of course).
Or, if you create a custom geometry, you can make your life easier, calling .computeVertexNormals()
.