Skip to content

Voxelise mesh preview #58

Answered by LucasDower
Embuer asked this question in Q&A
Discussion options

You must be logged in to vote

You can create a Minecraft resource pack where each texture is a pure colour. Then you can create an atlas from this texture pack using npm run atlas. Then select that atlas when you assign the blocks and the conversion from voxels to blocks should be more accurate.

Voxels can be any of the 16.7M RGB colours but there are only a few hundred Minecraft blocks so unfortunately the block mesh will never look as good as the voxel mesh. Additionally, voxel colours are calculated by directly sampling the underlying mesh whereas blocks are only approximates.

Hope this helps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LucasDower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants