-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Hello
I've been trying this method:
-
Create a one global array buffer for each type of data (position, uv, normal, etc).
-
Then create one element buffer array (index) for each material index data.
-
Create one VAO for each material index array. Every VAO is going to be bound to all the global array buffer and one respective element buffer.
-
Lastly I draw every VAO.
I tried this approach with Drovaric sponza from https://casual-effects.com/data/ and it works fine, but it does not have normal data, so I used blender to generate the normals and I get a bad result when drawing the mesh, like the the vertices are out of order.
in the case of using OBJ.initMeshBuffers, how would i go about it?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels