You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Atom/Feature/Common/Assets/Passes/DepthMSAAParent.pass

106 lines
3.5 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "PassAsset",
"ClassData": {
"PassTemplate": {
"Name": "DepthMSAAParentTemplate",
"PassClass": "ParentPass",
"Slots": [
// Inputs...
{
"Name": "SkinnedMeshes",
"SlotType": "Input"
},
// Outputs...
{
"Name": "DepthMSAA",
"SlotType": "Output"
},
{
"Name": "Depth",
"SlotType": "Output"
},
{
"Name": "DepthLinear",
"SlotType": "Output"
},
// SwapChain here is only used to reference the frame height and format
{
"Name": "SwapChainOutput",
"SlotType": "InputOutput"
}
],
"Connections": [
{
"LocalSlot": "DepthMSAA",
"AttachmentRef": {
"Pass": "DepthMSAAPass",
"Attachment": "Output"
}
},
{
"LocalSlot": "Depth",
"AttachmentRef": {
"Pass": "MSAAResolveDepthPass",
"Attachment": "Output"
}
},
{
"LocalSlot": "DepthLinear",
"AttachmentRef": {
"Pass": "DepthToLinearDepthPass",
"Attachment": "Output"
}
}
],
"PassRequests": [
{
"Name": "DepthMSAAPass",
"TemplateName": "DepthMSAAPassTemplate",
"PassData": {
"$type": "RasterPassData",
"DrawListTag": "depth",
"PipelineViewTag": "MainCamera"
},
"Connections": [
{
"LocalSlot": "SkinnedMeshes",
"AttachmentRef": {
"Pass": "Parent",
"Attachment": "SkinnedMeshes"
}
}
]
},
{
"Name": "MSAAResolveDepthPass",
"TemplateName": "MSAAResolveDepthTemplate",
"Connections": [
{
"LocalSlot": "Input",
"AttachmentRef": {
"Pass": "DepthMSAAPass",
"Attachment": "Output"
}
}
]
},
{
"Name": "DepthToLinearDepthPass",
"TemplateName": "DepthToLinearTemplate",
"Connections": [
{
"LocalSlot": "Input",
"AttachmentRef": {
"Pass": "MSAAResolveDepthPass",
"Attachment": "Output"
}
}
]
}
]
}
}
}