three-stdlib icon indicating copy to clipboard operation
three-stdlib copied to clipboard

OutputPass

Open s3ththompson opened this issue 1 year ago • 1 comments
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.

s3ththompson avatar Jan 23 '24 04:01 s3ththompson

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.

CodyJasonBennett avatar Jan 23 '24 04:01 CodyJasonBennett