Closed tongbong closed 4 years ago
Yes, you can use VertexPositionNormal instead of VertexPosition
If you check the Geometry/VertexTypes namespace, you'll see there's many vertex combinations already defined.
Furthermore, if at some point you need vertex colors or texture coodinates, you define them like this:
new MeshBuilder<VertexPositionNormal, VertexColor1Texture1>();
Yes, I saw that, but I came to understand it just now! Thanks for the quick answer.
Hello and thank you for this library,
I am trying to convert a STL file into a GLTF file.
So I create a mesh like this :
So far so good, the conversion is ok and I am able to see the 3D object in a gltf viewer (https://gltf-viewer.donmccurdy.com/).
But now I would like to add normals to the mesh and I am stuck here. Is there any way to do it?