{ "Name": "MXIDualMeshPartTransparentMaterialDefinition", "OverrideMaterial": "engine:engineDefaults.rematerialdefinition", "Parameters": { "Constants": { "splitDepth" : "10000", "vertexStatusToDraw" : "0", "alphaThreshold" : "0.0", "screenUVSubRect" : "[-1, 1, 1, 1]", "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]", "premultipliedAlpha" : true }, "Buffers": { "mxiTextureAtlas" : "rendergraph.mxiTextureAtlas" } }, "Techniques": [ { "Name": "MXIDualMeshPartTransparent", "VertexShader": { "Library" : "engine:mxi.metallib", "Entry": "vsMXI" }, "PixelShader": { "Library" : "engine:mxi.metallib", "Entry": "fsMXI" }, "State" : { "PreferProgrammableBlending" : false, "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "OneMinusSourceAlpha", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "OneMinusSourceAlpha", "WriteDepth" : false, "DepthCompareFunction" : "Greater" }, "FunctionConstants": { "EnableMultiUVs" : "true" }, "SupportsRuntimeFunctionConstants" : true, "AllowRuntimeTechniqueStateOverride" : true }, { "Name": "MXIDualMeshPartTransparentAlphaThreshold", "VertexShader": { "Library" : "engine:mxi.metallib", "Entry": "vsMXI" }, "PixelShader": { "Library" : "engine:mxi.metallib", "Entry": "fsMXIAlphaThreshold" }, "State" : { "PreferProgrammableBlending" : false, "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "OneMinusSourceAlpha", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "OneMinusSourceAlpha", "WriteDepth" : true, "DepthCompareFunction" : "Greater" }, "FunctionConstants": { "EnableMultiUVs" : "true" }, "SupportsRuntimeFunctionConstants" : true, "AllowRuntimeTechniqueStateOverride" : true } ], "TechniqueMapping": { "Transparent": "MXIDualMeshPartTransparent" } }