1MaterialDef Tone Mapper {
2    MaterialParameters {
3        Texture2D Texture
4        Texture2D Lum
5        Texture2D Lum2
6        Float BlendFactor
7        Float White
8        Float A
9        Float Gamma
10    }
11    Technique {
12        VertexShader GLSL100:   Common/MatDefs/Gui/Gui.vert
13        FragmentShader GLSL100: Common/MatDefs/Hdr/ToneMap.frag
14
15        WorldParameters {
16            WorldViewProjectionMatrix
17        }
18
19        Defines {
20            TEXTURE
21        }
22    }
23}