iakov.dev

Colour transformations as a post-process

· 1 min read

I’ve added colour transformations to the Glow engine as a post-process.

Right now it supports contrast, brightness, black and white, and red, green and blue shifts. Saturation will come later. All the transformations run in one pass, so adding contrast on top of brightness, for example, doesn’t make it twice as slow.

The transformations are scene properties, so scripts can change them.

The original image:

Original image before colour transformations

Brightness adjusted:

The same image with brightness adjusted

Blue and green shifted for a Matrix look, with brightness adjusted:

Blue and green shifted to give a Matrix film look

Black and white:

The image in black and white