Is this how you adjust white balance?

image

…meaning, it’s just the balance between high red and high blue, ignoring green?

Try this math on a channel mix TOP:

T = Temperature value (default is 0)

red gain = 1 - (T / 2)
blue gain = 1 + (T / 2)

Increase T to cool the image down, decrease to warm it up.

This will only work in a linear color space so make sure to linearize in the input texture, apply the adjustment, and then transform back. I do this with a math TOP in the attached sample but OCIO would work as well.

white balance.toe (3.6 KB)

1 Like