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.
84 lines
2.7 KiB
Plaintext
84 lines
2.7 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "DepthOfFieldTemplate",
|
|
"PassClass": "DepthOfFieldParentPass",
|
|
"Slots": [
|
|
{
|
|
"Name": "DoFColorInput",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "DoFDepthInput",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"AspectFlags": [
|
|
"Depth"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "DoFOutput",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget"
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "DoFOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "DepthOfFieldOnBokeh",
|
|
"Attachment": "Output"
|
|
}
|
|
}
|
|
],
|
|
"FallbackConnections": [
|
|
{
|
|
"Input" : "DoFColorInput",
|
|
"Output" : "DoFOutput"
|
|
}
|
|
],
|
|
"PassRequests": [
|
|
{
|
|
"Name": "AutoFocus",
|
|
"TemplateName": "DepthOfFieldReadBackFocusDepthTemplate",
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "DepthInput",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "DoFDepthInput"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name": "DepthOfFieldOnBokeh",
|
|
"TemplateName": "DepthOfFieldOnBokehTemplate",
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "ColorInput",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "DoFColorInput"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "DepthInput",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "DoFDepthInput"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|