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.
64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "SsaoComputeTemplate",
|
|
"PassClass": "SsaoComputePass",
|
|
"Slots": [
|
|
{
|
|
"Name": "LinearDepth",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "Output",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"LoadStoreAction": {
|
|
"LoadAction": "Clear"
|
|
}
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "Ssao",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "This",
|
|
"Attachment": "LinearDepth"
|
|
}
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R8_UNORM"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "Output",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "Ssao"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "ComputePassData",
|
|
"ShaderAsset": {
|
|
"FilePath": "Shaders/PostProcessing/SsaoCompute.shader"
|
|
},
|
|
"Make Fullscreen Pass": true,
|
|
"PipelineViewTag": "MainCamera"
|
|
},
|
|
"FallbackConnections": [
|
|
{
|
|
"Input": "LinearDepth",
|
|
"Output": "Output"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|