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.
73 lines
2.4 KiB
Plaintext
73 lines
2.4 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "NewDepthOfFieldDownsampleTemplate",
|
|
"PassClass": "FullScreenTriangle",
|
|
"Slots": [
|
|
{
|
|
"Name": "ColorInput",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ShaderImageDimensionsConstant": "m_inputDimensions"
|
|
},
|
|
{
|
|
"Name": "DepthInput",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"AspectFlags": [
|
|
"Depth"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "OutputColorAndCoC",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"ShaderImageDimensionsConstant": "m_outputDimensions",
|
|
"LoadStoreAction": {
|
|
"LoadAction": "Clear"
|
|
}
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "OutputAttachment",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "This",
|
|
"Attachment": "ColorInput"
|
|
},
|
|
"Multipliers": {
|
|
"WidthMultiplier": 0.5,
|
|
"HeightMultiplier": 0.5
|
|
}
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R16G16B16A16_FLOAT"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "OutputColorAndCoC",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "OutputAttachment"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "FullscreenTrianglePassData",
|
|
"ShaderAsset": {
|
|
"FilePath": "Shaders/PostProcessing/NewDepthOfFieldDownsample.shader"
|
|
},
|
|
"PipelineViewTag": "MainCamera"
|
|
}
|
|
}
|
|
}
|
|
}
|