Trying to skin a mesh created with
LinesBuilder.CreateLineSystem but I struggle with getting it to work.
Am I missing something obvious or is this perhaps a known limitation?
I made some progress. I disabled hardware skinning and discovered that for software skinning to work the mesh needs normals. I tried disabling those checks for normals and got it working.
Now I need to figure out what goes wrong with hardware skinning.
I have yet to try adding normals to the LinesMesh, perhaps that would fix both software and hardware skinning.
But even if that works out, I guess it does not really make sense to have normals on lines. So perhaps the normal checks should be altered to not require normals if it’s a LinesMesh. But I’m not sure if that’s possible for hardware skinning.
Where is the code for hardware skinning?