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.
65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "DownsampleMinAvgMaxCS",
|
|
"PassClass": "ComputePass",
|
|
"Slots": [
|
|
{
|
|
"Name": "Input",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "Output",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"LoadStoreAction": {
|
|
"LoadAction": "Clear"
|
|
}
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "MinAvgMax",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "This",
|
|
"Attachment": "Input"
|
|
},
|
|
"Multipliers": {
|
|
"WidthMultiplier": 0.5,
|
|
"HeightMultiplier": 0.5
|
|
}
|
|
},
|
|
"FormatSource": {
|
|
"Pass": "This",
|
|
"Attachment": "Input"
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R16G16B16A16_FLOAT"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "Output",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "MinAvgMax"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "ComputePassData",
|
|
"ShaderAsset": {
|
|
"FilePath": "Shaders/PostProcessing/DownsampleMinAvgMaxCS.shader"
|
|
},
|
|
"Make Fullscreen Pass": true
|
|
}
|
|
}
|
|
}
|
|
}
|