Skip to content

Does meshoptimizer preserve UVs? And can it preserve UVs after simplifying polycount of a mesh with gltfpack? #334

Answered by zeux
tdbe asked this question in Q&A
Discussion options

You must be logged in to vote

The answer to both of these is "yes", although the UV post-simplification - while generally preserved correctly - can sometimes result in UV distortion for complex models, which is pending improvement in the future.

I'd recommend using https://gltf-viewer.donmccurdy.com/ to compare your glTF files before and after gltfpack. If they look identical - which they should - the problem lies with Blender importer. I'm not sure on what extensions it supports, but gltfpack uses a couple KHR extensions by default as noted in the readme.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tdbe
Comment options

Answer selected by zeux
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