{
    "Name": "pointerMaterialDefinition",
    "OverrideMaterial": "engine:unlitCommon.rematerialdefinition",
    "Parameters": {
        "Constants": {
            "opacity" : 0.6,
            "feather" : 0.0,
            "contrastCurve" : "[1.0, 1.0, 1.0, 1.0]"
        },
        "Textures": {
            "textureBackgroundColor" : "fallback.writableWhiteTexture",
            "texturePersistentPointerLuminance" : "fallback.black",
            "textureBaseColor": "fallback.white"
        }
    },
    "Techniques": [
    {
        "Name": "TrackpadPointerCompose",
        "VertexShader": {
            "Entry": "vsPointerUI"
        },
        "PixelShader": {
            "Entry": "fsPointerUICompose"
        },
        "State" : {
            "RenderAttachmentState" : [
                {
                    "AlphaBlend"                : true,
                    "AlphaBlendOperation"       : "Add",
                    "AlphaSourceFactor"         : "One",
                    "AlphaDestinationFactor"    : "OneMinusSourceAlpha",
                    "RgbBlendOperation"         : "Add",
                    "RgbSourceFactor"           : "One",
                    "RgbDestinationFactor"      : "OneMinusSourceAlpha"
                }
            ],
            "WriteDepth" : true,
            "DepthCompareFunction" : "Always"
        },
        "FunctionConstants" : {
            "EnableClipping" : "false",
            "EnableBaseColorMap" : "true"
        },
        "Variations" : {
            "EnableClipping"         : ["false", "true"]
        },
        "RuntimeFunctionConstantDefaults" : {
            "EnableClipping" : "true"
        }
    }
    ],
    "TechniqueMapping": {
        "PointerOnly" : "TrackpadPointerCompose"
    }
}
