All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Common.MatDefs.Hdr.LogLum.j3md Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
MaterialDef Log Lum 2D {

    MaterialParameters {
        Texture2D Texture
        Vector2 BlockSize
        Vector2 PixelSize
        Float NumPixels
        Boolean DecodeLum
        Boolean EncodeLum
        Boolean Blocks
        Boolean ComputeMax
    }

    Technique {
        VertexShader GLSL100:   Common/MatDefs/Gui/Gui.vert
        FragmentShader GLSL100: Common/MatDefs/Hdr/LogLum.frag

        WorldParameters {
            WorldViewProjectionMatrix
        }

        Defines {
            TEXTURE
            ENCODE_LUM : EncodeLum
            DECODE_LUM : DecodeLum
            BLOCKS : Blocks
            COMPUTE_MAX : ComputeMax
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy