{
    "Name": "billboard_base",
    "Parameters": {
        "Constants": {
            "renderTargetSize": "view.renderTargetSize",
            "objectToCrWorld": "instance.objectToCrWorld",
            "crWorldToView": "view.crWorldToView",
            "viewToProj": "view.viewToProj"
        },
        "Buffers": {
            "position": "geometry.vertexPosition",
            "texcoord": "geometry.vertexUV",
            "normal": "geometry.vertexNormal",
            "tangent": "geometry.vertexTangent",
            "bitangent": "geometry.vertexBitangent"
        },
        "Textures": {
            "colorTexture": "fallback.white"
        }
    },
    "Techniques": [
        {
            "Name": "Standard",
            "VertexShader": {
                "Entry": "vsVisualCueBillboard",
                "Library": "framework:com.apple.RCFoundation/default.metallib"
            },
            "PixelShader": {
                "Entry": "fsVisualCueBillboard",
                "Library": "framework:com.apple.RCFoundation/default.metallib"
            },
            "State" : {
                "AlphaBlend" : true,
                "WriteDepth" : true,
                "DepthCompareFunction" : "GreaterEqual",
                "AlphaBlendOperation" : "Add",
                "AlphaSourceFactor" : "SourceAlpha",
                "AlphaDestinationFactor" : "OneMinusSourceAlpha",
                "RgbBlendOperation" : "Add",
                "RgbSourceFactor" : "SourceAlpha",
                "RgbDestinationFactor" : "OneMinusSourceAlpha"
            }
        }
    ],
    "TechniqueMapping": {
        "VisualCuePass": "Standard"
    }
}
