Skip to content

Conversation

@mrdoob
Copy link
Owner

@mrdoob mrdoob commented Jan 6, 2026

Related issue: #32325

Description

Removed the adaptive gamma curve that was applied before tonemapping. The shaders now output linear values, letting the renderer's tonemapping and color space conversion handle the display transform correctly.

This curve was a legacy artifact from before Three.js had proper color management. Applying it before tonemapping meant the tonemapper was operating on non-linear data.

(Made with Claude Opus 4.5)

@mrdoob mrdoob added this to the r183 milestone Jan 6, 2026
@mrdoob mrdoob merged commit da18e06 into dev Jan 6, 2026
9 checks passed
@mrdoob mrdoob deleted the sky branch January 6, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants