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

[v9] fix!: don't automatically set texture colorSpace, colorMap fallback #3163

Merged
merged 3 commits into from
Apr 26, 2024

Conversation

CodyJasonBennett
Copy link
Member

Removes automatic sRGB conversion for textures which is wrong for data textures to align with vanilla behavior. A color-map fallback for built-in materials is mirrored from mrdoob/three.js#27042 with aliases before mrdoob/three.js#22748.

Related: mrdoob/three.js#25857

@CodyJasonBennett CodyJasonBennett changed the title fix!: don't automatically set texture colorSpace, colorMap fallback [v9] fix!: don't automatically set texture colorSpace, colorMap fallback Feb 7, 2024
Copy link

codesandbox-ci bot commented Feb 7, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit fca8de7:

Sandbox Source
example Configuration

@CodyJasonBennett CodyJasonBennett merged commit 9e20942 into v9 Apr 26, 2024
2 checks passed
@CodyJasonBennett CodyJasonBennett deleted the fix/texture-colorspace-align branch April 26, 2024 04:54
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