block-mesh-rs
block-mesh-rs copied to clipboard
Allow the voxel that produced an UnorientedUnitQuad to be preserved
Basically what the title says. The objective behind this is to allow custom texture coords to be generated depending on the type/data of the original voxel
Why is this necessary? You already have the coordinates of the voxel on the quad, so you can easily access it.
Well for my use case I want to implement a single texture atlas for a chunk mesh with per voxel texture coordinates, but without information on what the original voxel is I cannot generate the correct texture atlas coordinates.
but without information on what the original voxel
But you do have this information. It's just the voxel from the array you provided to the meshing function.