aboutsummaryrefslogtreecommitdiff
path: root/engine/src/core-data/Common/MatDefs/Hdr/ToneMap.j3md
blob: 24fbd04ae6161256452406245219ca9822fd6c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
MaterialDef Tone Mapper {
    MaterialParameters {
        Texture2D Texture
        Texture2D Lum
        Texture2D Lum2
        Float BlendFactor
        Float White
        Float A
        Float Gamma
    }
    Technique {
        VertexShader GLSL100:   Common/MatDefs/Gui/Gui.vert
        FragmentShader GLSL100: Common/MatDefs/Hdr/ToneMap.frag

        WorldParameters {
            WorldViewProjectionMatrix
        }

        Defines {
            TEXTURE
        }
    }
}