{
    "Name": "SFBPbrBlur",
    "OverrideMaterial": "engine:pbrCommon.rematerialdefinition",
    "Parameters": {
        "Constants": {
            "tintColor" : "[1, 1, 1, 0]"
        },
        "Textures": {
            "passthroughBlurColor" : "fallback.blackArray",
            "textureColorUnwarped" : "fallback.blackArray"
        },
        "Buffers": {
            "rateMapData" : "fallback.zeros"
        }
    },
    "Techniques": [
        {
            "Name": "SFBComposePassthroughBlur",
            "VertexShader": {
                "Entry": "vsRealityPbr"
            },
            "PixelShader": {
                "Entry": "fsSFBComposePassthroughBlur"
            },
            "State" : {
                "AlphaBlend" : false,
                "WriteDepth" : true,
                "DepthCompareFunction" : "Greater"
            },
            "FunctionConstants" : {
                "EnablePassthroughBlurPlane" : "true",
                "EnableClipping" : "false",
                "DisableFadeOpacity" : "true"
            },
            "Variations" : {
                "EnableClipping"         : ["false", "true"]
            },
            "RuntimeFunctionConstantDefaults" : {
                "EnableClipping" : "true"
            },
            "SupportsRuntimeFunctionConstants" : true
        },
        {
            "Name": "SFBComposePassthroughBlurTransparent",
            "VertexShader": {
                "Entry": "vsRealityPbr"
            },
            "PixelShader": {
                "Entry": "fsSFBComposePassthroughBlur"
            },
            "State" : {
                "AlphaBlend" : true,
                "WriteDepth" : true,
                "DepthCompareFunction" : "GreaterEqual"
            },
            "FunctionConstants" : {
                "EnablePassthroughBlurPlane" : "true",
                "EnableClipping" : "false",
                "EnableBtMask" : "false",
                "EnableVisualDepthStaticOcclusion" : "false",
                "EnableSceneUnderstandingStaticOcclusion" : "false",
                "IsVisualDepthStaticOcclusionTextureAvailable" : "false"
            },
            "Variations" : {
                "EnableClipping"         : ["false", "true"],
                "EnableBtMask" : ["false", "true"],
                "EnableDepthMitigation" : ["false", "true"],
                "EnableVisualDepthStaticOcclusion"             : ["false", "true"],
                "EnableSceneUnderstandingStaticOcclusion" : ["false", "true"],
                "IsVisualDepthStaticOcclusionTextureAvailable" : ["false", "true"]
            },
            "RuntimeFunctionConstantDefaults" : {
                "EnableClipping" : "true",
                "EnableBtMask" : "true",
                "EnableDepthMitigation" : "true",
                "EnableVisualDepthStaticOcclusion" : "true",
                "EnableSceneUnderstandingStaticOcclusion" : "true",
                "IsVisualDepthStaticOcclusionTextureAvailable" : "true"
            },
            "SupportsRuntimeFunctionConstants" : true
        }
    ],
    "TechniqueMapping" : {
        "Opaque" : "SFBComposePassthroughBlur",
        "SFBPassthroughDownsample2D" : "SFBComposePassthroughBlur"
    },
    "TechniqueMappingOverrides": {
        "Fade": {
            "FadeDepthPrepass": "DepthOnly",
            "FadeOpaque": "SFBComposePassthroughBlurTransparent"
        }
    }
}
