Surface nets – some progress


A few minutes after the last post i realized my mistake. I’d mixed up the temporary Vector3 array with the production array.

The only things i changed from the previous code to get it to this point was swapping chunk.newVertices with chunk.vertices. Edit: I actually ended removing the swapped array altogether as i could find no area where it was referenced, result was the same.

Its still a way off, but hey.. its better!



Leave a Reply

Your email address will not be published. Required fields are marked *