I want to implement something like "Filmic Blender" in GLSL. Thus I need the LUT and/or transfer functions in human readable format. Where can I find this.
I have found that there are two sets of LUT:s. RGB to RGB mapping (I will use desat65cube.spi3d), and a 1d mapping for controlling contrast. New questions:
- How are input values (those that comes from the lighting algorithm) mapped to the range [0, 64]
- When is the contrast control applied
- How does the exposure control work