{
    "Name": "arProjectiveShadow",
    "OverrideMaterial": "engine:engineDefaults.rematerialdefinition",
    "Parameters": {
        "Constants": {
            "planeSurfaceViewMatrix": "[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]",
            "intensity": "2.5",
            "objectDecayRate": "8.0",
            "decayToGround": "4.0",
            "radialDistanceToGround": "0.0"
        }
    },
    "Techniques": [
        {
            "Name": "arProjectiveShadow",
            "VertexShader": {
                "Entry": "vsProjectiveShadow"
            },
            "PixelShader": {
                "Entry": "fsProjectiveShadow"
            },
            "State" : {
                "AlphaBlend" : true,
                "WriteDepth" : false,
                "DepthCompareFunction" : "Always",
                "AlphaBlendOperation"       : "Min",
                "AlphaSourceFactor"         : "One",
                "AlphaDestinationFactor"    : "One",
                "RgbBlendOperation"         : "Min",
                "RgbSourceFactor"           : "One",
                "RgbDestinationFactor"      : "One"
            },
            "FunctionConstants" : {
                "EnableClipping" : "true"
            },
            "DefaultVariations" : [ "ShadowCommon" ],
            "SupportsRuntimeFunctionConstants" : true
        }
    ],
    "TechniqueMapping": {
        "arProjectiveShadowTechnique": "arProjectiveShadow"
    }
}
