PatchBox r284

September 30th, 2008

PatchBox CGFX Blending Modes

PatchBox CGFX Blending Modes

Found an excellent page this morning with a good range of succinctly described blending modes.

I converted the whole lot over to a CGFX shader and plugged it into PatchBox.

Also wrote some RGB to HSL/HSV routines.

This image shows all 24 blending modes working at once (and a hue rotation at the bottom right) and all running on the GPU.