Closed CoriullusFox closed 8 months ago
woah I am surprised that alone fixes it for you. CombineAndOptimizeMaterials()
has no regard for original vertex order and only keeps the original vertex ids intact if the vertices are exactly in the order they get referenced first by the index buffer.
added penetrator detection for sps and skipped Mesh.Optimize() on sps meshes
sps apparently doesn't like Mesh.Optimize() turns it into spaghetti...