-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
TSL: Color Space revision #29248
TSL: Color Space revision #29248
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
@WestLangley I improve the names to |
Note that for wide-gamut rendering, Linear-sRGB will not necessarily hold the role of "working color space", we'd instead want to render in Linear P3, Linear Rec. 2020, or perhaps ACEScg. That's not an urgent concern right now... but I wonder if naming with that "working color space" term might be more future-proof? const outputNode = node.fromWorkingColorSpace( targetColorSpace = renderer.outputColorSpace );
const linearNode = node.toWorkingColorSpace( sourceColorSpace = renderer.outputColorSpace ); |
Description
Examples:
currentColorSpace
currentToneMapping