pmndrs / postprocessing

A post processing library for three.js.
zlib License
2.23k stars 206 forks source link

Implement color grading effects #584

Open vanruesc opened 5 months ago

vanruesc commented 5 months ago

Description

Implement a CDLEffect BrightnessContrastEffect, HueSaturationEffect and SepiaEffect.

Reference:

Tasks

Implementation Details

donmccurdy commented 4 months ago

I might suggest going an additional step and include a CDLEffect, based on ASC CDL v1.2 color grading. It's a single effect with four parameters (vec3 slope, vec3 offset, vec3 power, float saturation) that should be able to accomplish everything supported by the other effects listed here. I'm making a similar proposal for three.js core fairly soon.

vanruesc commented 4 months ago

That's even better :+1: I'll update the task.

vanruesc commented 4 months ago

FYI: this ticket is not a blocker for v7 and since I'm not familiar with CDL, I'll leave you to it @donmccurdy. Meaning I won't be checking in here :smile:

donmccurdy commented 4 months ago

Thanks @vanruesc! Next on my list after a glTF Transform v4 release that has been taking me longer than planned. 😅