Skip to content

gltf-transform optimize removes uv1 attribute from geometry. #1296

Discussion options

You must be logged in to vote

Hi @subhankar-trisetra! You're correct that the keepAttributes: false option is responsible for removing UVs (and other vertex attributes) that are unused in the given file. Currently the optimize CLI command doesn't expose that as a flag. If you're doing this programmatically in a script you can of course choose whichever options, or I'd be open to PRs adding this flag to the optmize CLI command.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@subhankar-trisetra
Comment options

@subhankar-trisetra
Comment options

Answer selected by subhankar-trisetra
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