References to this File
References to other File
524815
{
"__fileName__": "base/meta/Shader/scene_def_gbuff_multimat_masking_nearMask.shd",
"dwRenderLayers": 16388,
"ptPasses": [
{
"eRenderLayer": 14,
"eGraphType": 1,
"tRenderParams": {
"nSortPriorityOffset": 0,
"eCullMode": 2,
"fZBufferWriteEnable": true,
"eZBufferCompareFunc": 4,
"flZBias": 0,
"flZSlopeScaleBias": 0,
"unk_88ea918": 1,
"unk_86528c3": 1,
"tStencilParams": {
"fStencilBufferEnable": true,
"dwStencilBufferRefValue": 12,
"dwStencilReadMask": 255,
"dwStencilWriteMask": 252,
"eFrontStencilBufferCompareFunc": 8,
"eFrontStencilOpPass": 3,
"eFrontStencilOpFail": 1,
"eFrontStencilOpZFail": 1,
"eBackStencilBufferCompareFunc": 1,
"eBackStencilOpPass": 1,
"eBackStencilOpFail": 1,
"eBackStencilOpZFail": 1
},
"fAlphaTestEnable": true,
"eAlphaTestCompareFunc": 5,
"bAlphaTestRefValue": 0,
"fAlphaMaskEnable": false,
"eFillMode": 0,
"fIndependentAlphaBlendEnable": false,
"tAlphaBlend": [
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": true
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
}
]
},
"ptInputLayout": [
{
"eVBFormat": 4
},
{
"eVBFormat": 14
}
],
"dwFlags": 256,
"dwDecalWriteFlags": 63,
"unk_c23801f": 0,
"ptPostprocessed": "0",
"dwShaderPermFlags": [
0,
4096,
8192
],
"ptPerms": [
{
"unk_e3331b5": [
1,
81,
3
],
"unk_a2b58a8": [],
"tPrograms": [
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "-78c9c069dab57955",
"unk_8e5f439": [
2684469248,
0,
16384,
0,
0,
32768
],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "-627314d3d18b11a8",
"unk_8e5f439": [
545259648,
402718720,
128,
0,
0,
0
],
"unk_d4d5dbb": [
7,
1
],
"ptResourceSlot": [
40,
81,
1,
3
],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
}
]
},
{
"unk_e3331b5": [
1,
81,
3
],
"unk_a2b58a8": [],
"tPrograms": [
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "2ecfb0c49ee9739d",
"unk_8e5f439": [
2684469248,
0,
16384,
0,
0,
32768
],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "-627314d3d18b11a8",
"unk_8e5f439": [
545259648,
402718720,
128,
0,
0,
0
],
"unk_d4d5dbb": [
7,
1
],
"ptResourceSlot": [
40,
81,
1,
3
],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
}
]
},
{
"unk_e3331b5": [
1,
81,
3
],
"unk_a2b58a8": [],
"tPrograms": [
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "475e8c812d1dd8b6",
"unk_8e5f439": [
2684469248,
0,
16384,
0,
0,
32768
],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "-11551aa10f6ad11",
"unk_8e5f439": [
545259648,
65536,
2176,
0,
0,
0
],
"unk_d4d5dbb": [
7,
1
],
"ptResourceSlot": [
40,
81,
1,
3
],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
}
]
}
],
"tUsedScalarMaterialValues": [
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_00",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_01",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_02",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_03",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_00",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_01",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_02",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_03",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_04",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_04",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/Near Mask - Max (ENV)",
"flDefaultValue": 10
},
{
"snoMaterialValue": "MaterialValue/Near Mask - Min (ENV)",
"flDefaultValue": 3
},
{
"snoMaterialValue": "MaterialValue/Near Mask - Power (ENV)",
"flDefaultValue": 1
}
],
"tUsedVectorMaterialValues": [
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_00",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_01",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_02",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_03",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_04",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
}
],
"tUsedStaticBranchMaterialValues": [],
"tDefaultTextures": [],
"pBBEFormulas": [],
"hOptionalRenderPassFields": {
"TAG_VS_USES_NORMAL": 1,
"unk_3f60c57": 0,
"TAG_VS_USES_ALPHA2": 0,
"TAG_VS_LIGHTING": 0,
"unk_5897d0d": 0,
"TAG_VS_USES_TANGENT": 1,
"unk_74273ac": 0,
"unk_bc87fa3": 1,
"TAG_VS_ENABLE_FOGGING": 0,
"unk_d5cbc82": 0,
"unk_e1f2170": 0,
"unk_f7d4a46": 0,
"TAG_VS_USES_INSTANCING": 1,
"unk_ffc104e": 1
}
},
{
"eRenderLayer": 34,
"eGraphType": 1,
"tRenderParams": {
"nSortPriorityOffset": 0,
"eCullMode": 2,
"fZBufferWriteEnable": true,
"eZBufferCompareFunc": 4,
"flZBias": 0,
"flZSlopeScaleBias": 0,
"unk_88ea918": 1,
"unk_86528c3": 1,
"tStencilParams": {
"fStencilBufferEnable": false,
"dwStencilBufferRefValue": 0,
"dwStencilReadMask": 255,
"dwStencilWriteMask": 255,
"eFrontStencilBufferCompareFunc": 4,
"eFrontStencilOpPass": 1,
"eFrontStencilOpFail": 1,
"eFrontStencilOpZFail": 1,
"eBackStencilBufferCompareFunc": 4,
"eBackStencilOpPass": 1,
"eBackStencilOpFail": 1,
"eBackStencilOpZFail": 1
},
"fAlphaTestEnable": true,
"eAlphaTestCompareFunc": 5,
"bAlphaTestRefValue": 0,
"fAlphaMaskEnable": false,
"eFillMode": 0,
"fIndependentAlphaBlendEnable": false,
"tAlphaBlend": [
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
},
{
"fAlphaBlendEnable": false,
"eBlendOp": 1,
"eSrcBlendFactor": 5,
"eDestBlendFactor": 6,
"fSeparateAlphaBlendEnable": false,
"eBlendOpAlpha": 1,
"eSrcBlendFactorAlpha": 5,
"eDestBlendFactorAlpha": 6,
"fRWriteEnable": true,
"fGWriteEnable": true,
"fBWriteEnable": true,
"fAWriteEnable": false
}
]
},
"ptInputLayout": [
{
"eVBFormat": 4
},
{
"eVBFormat": 14
}
],
"dwFlags": 49152,
"dwDecalWriteFlags": 63,
"unk_c23801f": 0,
"ptPostprocessed": "0",
"dwShaderPermFlags": [
0,
4096,
8192
],
"ptPerms": [
{
"unk_e3331b5": [
1,
81,
3
],
"unk_a2b58a8": [],
"tPrograms": [
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "29231ea1c3b29308",
"unk_8e5f439": [
537215104,
403177472,
17536,
0,
0,
32768
],
"unk_d4d5dbb": [
6,
7,
0,
1,
2,
3,
4,
5,
8,
9,
11,
10,
12,
13,
14
],
"ptResourceSlot": [
0,
40
],
"unk_6f6dbab": [
0,
0,
0,
0,
81,
1,
3
]
}
]
},
{
"unk_e3331b5": [
1,
81,
3
],
"unk_a2b58a8": [],
"tPrograms": [
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "979857b9a632e9f",
"unk_8e5f439": [
537215104,
403177472,
17536,
0,
0,
32768
],
"unk_d4d5dbb": [
6,
7,
0,
1,
2,
3,
4,
5,
8,
9,
11,
10,
12,
13,
14
],
"ptResourceSlot": [
0,
40
],
"unk_6f6dbab": [
0,
0,
0,
0,
81,
1,
3
]
}
]
},
{
"unk_e3331b5": [
1,
81,
3
],
"unk_a2b58a8": [],
"tPrograms": [
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "0",
"unk_8e5f439": [],
"unk_d4d5dbb": [],
"ptResourceSlot": [],
"unk_6f6dbab": []
},
{
"pShaderProgram": [],
"pStateObject": [],
"dwKey": "-385e41f3e73a2731",
"unk_8e5f439": [
537215104,
524288,
19584,
0,
0,
32768
],
"unk_d4d5dbb": [
6,
7,
0,
1,
2,
3,
4,
5,
8,
9,
11,
10,
12,
13,
14
],
"ptResourceSlot": [
0,
40
],
"unk_6f6dbab": [
0,
0,
0,
0,
81,
1,
3
]
}
]
}
],
"tUsedScalarMaterialValues": [
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_00",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_01",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_02",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_03",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_00",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_01",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_02",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_03",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Roughness_04",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Metallic_04",
"flDefaultValue": 0
},
{
"snoMaterialValue": "MaterialValue/Near Mask - Max (ENV)",
"flDefaultValue": 10
},
{
"snoMaterialValue": "MaterialValue/Near Mask - Min (ENV)",
"flDefaultValue": 3
},
{
"snoMaterialValue": "MaterialValue/Near Mask - Power (ENV)",
"flDefaultValue": 1
}
],
"tUsedVectorMaterialValues": [
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_00",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_01",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_02",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_03",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
},
{
"snoMaterialValue": "MaterialValue/MultiMat_Albedo_04",
"vDefaultValue": {
"x": 1,
"y": 1,
"z": 1,
"w": 1
}
}
],
"tUsedStaticBranchMaterialValues": [],
"tDefaultTextures": [],
"pBBEFormulas": [],
"hOptionalRenderPassFields": {
"TAG_VS_USES_NORMAL": 1,
"unk_3f60c57": 0,
"TAG_VS_USES_ALPHA2": 0,
"TAG_VS_LIGHTING": 1,
"unk_5897d0d": 0,
"TAG_VS_USES_TANGENT": 1,
"unk_74273ac": 0,
"TAG_VS_AO_LIGHTING": 1,
"unk_bc87fa3": 1,
"TAG_VS_ENABLE_FOGGING": 1,
"unk_d5cbc82": 0,
"unk_e1f2170": 0,
"unk_f7d4a46": 0,
"TAG_VS_USES_INSTANCING": 1,
"unk_ffc104e": 1
}
}
],
"unk_a0d6c95": false,
"unk_860effa": false,
"unk_2f4ebc8": false,
"arDisabledShaderFX": [],
"arRemappedShaderFX": [],
"unk_cee0ffd": "scene_def_gbuff_multimat_masking_nearMask",
"pShaderData": {
"value": {
"dataOffset": 32,
"dataSize": 93898
}
}
}