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

KTX2Loader: Add support for Display P3 and Linear Display P3 #26621

Merged
merged 4 commits into from
Aug 22, 2023

Conversation

donmccurdy
Copy link
Collaborator

Enables KTX2Loader to parse KTX2 files using the Display P3 and Linear Display P3 wide-gamut color spaces, and to assign the correct texture.colorSpace value. These textures do not render correctly yet, however. We'll need to support a wide-gamut working color space (such as Linear Display P3), and this PR is intended to help with debugging the changes required.

@github-actions
Copy link

github-actions bot commented Aug 21, 2023

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
646.4 kB (160.4 kB) 646.5 kB (160.4 kB) +72 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
439.3 kB (106.4 kB) 439.3 kB (106.4 kB) +34 B

@donmccurdy donmccurdy marked this pull request as ready for review August 21, 2023 23:22
@donmccurdy donmccurdy merged commit a645ee1 into mrdoob:dev Aug 22, 2023
18 checks passed
@donmccurdy donmccurdy deleted the feat/ktx2loader-p3 branch August 22, 2023 17:49
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.

1 participant