tag
#visual-artifact
2 items (2 fixes)
fixes
✓ 26.07.15a
"Decimated heightfield cliffs render as sawtooth teeth: snap the above-gap cluster"
A decimated heightfield mesher renders carved cliffs as alternating sawtooth teeth; consistent diagonals and majority-vote corner snapping don't fix the crest. Sort the four corner samples, find the largest gap, and average only the cluster above it.
procedural-meshterrain
✓ 26.07.15a
"Rebuilding a multi-material model loses submesh materials"
GetVertices/GetIndices flatten a multi-material compiled model into one buffer. Rebuilding with Materials[0] paints everything that first material (often black). Split indices by per-submesh counts and build one Mesh per range.
meshmodel-builder