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.
89 lines
3.0 KiB
Plaintext
89 lines
3.0 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "SsaoHalfResTemplate",
|
|
"PassClass": "ParentPass",
|
|
"Slots": [
|
|
{
|
|
"Name": "LinearDepth",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "Output",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "Output",
|
|
"AttachmentRef": {
|
|
"Pass": "Upsample",
|
|
"Attachment": "Output"
|
|
}
|
|
}
|
|
],
|
|
"PassRequests": [
|
|
{
|
|
"Name": "DepthDownsample",
|
|
"TemplateName": "DepthDownsampleTemplate",
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "FullResDepth",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "LinearDepth"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "DownsampledSsao",
|
|
"TemplateName": "SsaoParentTemplate",
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "LinearDepth",
|
|
"AttachmentRef": {
|
|
"Pass": "DepthDownsample",
|
|
"Attachment": "HalfResDepth"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "Upsample",
|
|
"TemplateName": "DepthUpsampleTemplate",
|
|
"Enabled": true,
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "FullResDepth",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "LinearDepth"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "HalfResDepth",
|
|
"AttachmentRef": {
|
|
"Pass": "DepthDownsample",
|
|
"Attachment": "HalfResDepth"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "HalfResSource",
|
|
"AttachmentRef": {
|
|
"Pass": "DownsampledSsao",
|
|
"Attachment": "Output"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|