Jesse Gilbert digital media, software and sound design

Jesse Gilbert

Shaders

Occasional releases of GLSL shaders that I’ve developed for the Max/Jitter environment.

 

Colorspace conversion

Translation to/from RGB into a variety of perceptual colorspaces.  I developed these as part of a palette derivation tool for arbitrary images, release forthcoming.  All algorithms adapted from those at the EasyRGB website.  Transforms to/from the CIE-XYZ color space assume a 2º Standard Observer, D65 illuminant.

Download Version 0.1, June 2012

Shader listing

RGB –> HSL
RGB –> HSV
HSL –> RGB
HSV –> RGB

RGB –> CIE-XYZ
CIE-XYZ –> RGB

CIE-XYZ –> CIE-L*ab
CIE-XYZ –> CIE-L*uv
CIE-XYZ –> HLAB
CIE-XYZ –> Yxy
CIE-L*ab –> CIE-XYZ
CIE-L*uv –> CIE-XYZ
HLAB –> CIE-XYZ
Yxy –> CIE-XYZ

CIE-L*ab –> CIE-L*CH
CIE-L*CH –> CIE-L*ab

 

 

 

All software released under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Comments are closed.

Archive
Site Search
Contact

jessegilbert [at] gmail [dot] com