Hello, I’m having some trouble finding a small bit of information I’m sure someone knows off the top of their head. What is the input format for Mesh.normals? I know it’s a Vector3 array, but do I create a normal for every vertex, a normal for every three vertex (triangles)? Thank you.
Generating a normal per vertex seemed to do the trick, please correct me if this was the wrong approach.
Try this on a primitive cube:
void Start() {
debug.Log("vertex: "+mesh.vertexCount+"; normals: "+mesh.Normals.length)
}
I don’t know if this will work. Just a sense to know how many normals there is in a cube according to vertex and triangles… So that you can have a rule of how many normals per vertex or triangles.
Hope you can understand. Lol
Att.,
PJRM
There’s some pretty clear visual cues that it’s normalized, seems to be working on a 1 to 1 vertex-normal ratio