Skip to content

Replace deprecated sRGBEncoding with SRGBColorSpace#503

Open
bodydisplaynone wants to merge 1 commit intohiukim:masterfrom
p4it-kft:master
Open

Replace deprecated sRGBEncoding with SRGBColorSpace#503
bodydisplaynone wants to merge 1 commit intohiukim:masterfrom
p4it-kft:master

Conversation

@bodydisplaynone
Copy link
Copy Markdown

As of r152, three stopped using sRGBEncoding and started using SRGBColorSpace instead.

This is reflected in the discussions and other various sources.

https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791
image

The above causes a build error when using any versions of three above r152 (currently at r162).

@amcc
Copy link
Copy Markdown

amcc commented Oct 15, 2024

i'm running into the same issue - would love to see this implemented

@StillOnMyWay
Copy link
Copy Markdown

Need this one as well asap! We're in the r170s now for Three

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.

3 participants