vengi-voxel / vengi

free and open source voxel art tools - editor, thumbnailer and format converter
http://vengi-voxel.github.io/vengi/
Other
1.05k stars 87 forks source link

VOXELFORMAT: MESH: allow to configure the PosSampling::avgColor() method to not create any new colors #448

Closed mgerhardy closed 2 months ago

mgerhardy commented 2 months ago

currently if triangles with different colors contribute to the same voxel the resulting color is averaged and a potential new color is created that is not part of the original texture. This should be configurable.