three-stdlib
three-stdlib copied to clipboard
OutputPass
trafficstars
three-stdlib should include the OutputPass from examples/jsm/postprocessing/OutputPass.js as a postprocessing pass.
This is the new, recommended way to apply color space / tonemapping adjustments as a postprocessing pass.
Additionally, the Effects component in Drei should be updated to use OutputPass, per https://github.com/pmndrs/drei/issues/1707.
See the discussion there. We can add an OutputPass, but switching to it in Drei is a breaking change as well as use of premultiplied alpha here. We'd have to coordinate the two, but I'd recommend pmndrs/postprocessing for any production project.