{
    "Name": "MXIAlphaMaterialDefinition",
    "OverrideMaterial": "engine:engineDefaults.rematerialdefinition",
    "Parameters": {
        "Constants": {
            "collapseTransform": "[1.0,0.0,0.0,0.0, 0.0,1.0,0.0,0.0, 0.0,0.0,1.0,0.0, 0.0,0.0,0.0,1.0]",
            "splitDepth" : "10000",
            "vertexStatusToDraw" : "0",
            "screenUVSubRect" : "[-1, 1, 1, 1]"
        },
        "Buffers": {
            "mxiTextureAtlas" : "rendergraph.mxiTextureAtlas"
        }
    },
    "Techniques": [
        {
            "Name": "MXIAlpha",
            "VertexShader": {
                "Library" : "engine:mxi.metallib",
                "Entry": "vsMXI"
            },
            "PixelShader": {
                "Library" : "engine:mxi.metallib",
                "Entry": "fsMXIAlpha"
            },
            "State" : {
                "PreferProgrammableBlending"    : false,
                "AlphaBlend"                    : true,
                "AlphaBlendOperation"           : "Add",
                "AlphaSourceFactor"             : "One",
                "AlphaDestinationFactor"        : "OneMinusSourceAlpha",
                "RgbBlendOperation"             : "Add",
                "RgbSourceFactor"               : "One",
                "RgbDestinationFactor"          : "OneMinusSourceAlpha",
                "WriteDepth"                    : true,
                "DepthCompareFunction"          : "Always"
            },
            "FunctionConstants": {
                "EnableMultiUVs"        : "true"
             },
            "SupportsRuntimeFunctionConstants"      : true,
            "AllowRuntimeTechniqueStateOverride"    : true
        }
    ],
    "TechniqueMapping": {
        "Opaque": "MXIAlpha"
    }
}
