Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USDZExporter: Add maxTextureSize option. #27528

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

Sov3rain
Copy link
Contributor

@Sov3rain Sov3rain commented Jan 8, 2024

Fixed #25557

Description

When exporting to a USDZ file, the provided textures will be clamped to 1024px. With the current limitation, textures can get too blurry.

By enhancing the options parameter of parse() with a new entry maxTextureSize (still defaulted to 1024px), we offer users the ability to fine tune the final export to their needs.

@Mugen87 Mugen87 added this to the r161 milestone Jan 8, 2024
@Mugen87 Mugen87 changed the title USDZExporter: Add maxTexture size option. USDZExporter: Add maxTextureSize option. Jan 8, 2024
@Mugen87 Mugen87 merged commit 208f5e4 into mrdoob:dev Jan 8, 2024
11 checks passed
@Sov3rain Sov3rain deleted the usdz-export-max-texture-size branch January 9, 2024 08:45
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

USDZExporter - Increase texture max size
2 participants