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

Common.MatDefs.Blur.RadialBlur.j3md Maven / Gradle / Ivy

The newest version!
MaterialDef Radial Blur {

    MaterialParameters {
        Int BoundDrawBuffer
        Int NumSamples
        Texture2D Texture
        Color Color
        Float SampleDist
        Float SampleStrength
        FloatArray Samples
    }

    Technique {
        VertexShader GLSL300 GLSL150 GLSL120  :   Common/MatDefs/Post/Post.vert
        FragmentShader GLSL300 GLSL150 GLSL120  : Common/MatDefs/Blur/RadialBlur.frag

        WorldParameters {
        }

        Defines {
            BOUND_DRAW_BUFFER: BoundDrawBuffer
            RESOLVE_MS : NumSamples
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy