MaterialDef Radial Blur {

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

    Technique {
        VertexShader GLSL150:   Common/MatDefs/Post/Post15.vert
        FragmentShader GLSL150: Common/MatDefs/Blur/RadialBlur15.frag

        WorldParameters {
        }

        Defines {
            RESOLVE_MS : NumSamples
        }
    }

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

        WorldParameters {
        }
    }
}