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

Common.MatDefs.Post.BloomExtract.j3md Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
MaterialDef Bloom {

    MaterialParameters {
        Int NumSamples
        Texture2D Texture
        Float ExposurePow
        Float ExposureCutoff
        Boolean Extract
        Texture2D GlowMap
    }

    Technique {
        VertexShader GLSL150 GLSL100:   Common/MatDefs/Post/Post.vert
        FragmentShader GLSL150 GLSL100: Common/MatDefs/Post/bloomExtract.frag

        WorldParameters {
        }

        Defines {
            HAS_GLOWMAP : GlowMap
            DO_EXTRACT : Extract
            RESOLVE_MS : NumSamples
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy