# Sources for filmic blender

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.

# Update:

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:

1. How are input values (those that comes from the lighting algorithm) mapped to the range [0, 64]
2. When is the contrast control applied
3. How does the exposure control work
• I suggest you message Troy_S, he is the one that created it. – icYou520 Aug 22 '17 at 18:02
• @icYou520 How can I reach him? – user877329 Aug 22 '17 at 18:16
• Hi @Troy_S, here is a question that needs your help. – cgslav Aug 22 '17 at 18:43
• That will do it, also you have sources for Filmic on Troys Github: github.com/sobotka/filmic-blender – cgslav Aug 22 '17 at 18:44
• – user1853 Aug 23 '17 at 3:30

x <- log2(shader_output)