[Bf-compositor] Clamping (Mix, Math, RGB Curves)

Bartek Skorupa (priv) bartekskorupa at bartekskorupa.com
Fri May 23 13:46:11 CEST 2014


Hey,

In many cases when using nodes we'd like to clamp output values to visual range (or to range between 0.0 and 1.0).
Some nodes like Mix or Math nodes have the checkbox for this and it's fantastic.
However in many cases we have a need for clamping just "whites" or just "blacks".
Would it be possible to split clamping such that we have two checkboxes: "Clamp Whites" and "Clamp Blacks"? Maybe the names are not the best especially for Math nodes, but I hope you get the idea.

Another thing is that RGB Curves node has no option for clamping at all. It would be very helpful to have this option.
When talking about RGB Curves - we have another issue: RGB Curves node in compositor doesn't clamp and when used in Cycles materials it clamps, so we have inconsistency. I'm aware that those are different nodes even though look almost exactly the same.
I understand that in most cases you wouldn't want to clamp in compositor and would want to clamp when setting materials, but it would be great to have an option (both in compositing and materials). Splitting clamping whites and blacks would be even better.

What do you think about it?

Cheers
Bartek Skorupa


More information about the Bf-compositor mailing list