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.
76 lines
2.4 KiB
Plaintext
76 lines
2.4 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "ContrastAdaptiveSharpeningTemplate",
|
|
"PassClass": "ComputePass",
|
|
"Slots": [
|
|
{
|
|
"Name": "InputColor",
|
|
"SlotType": "Input",
|
|
"ShaderInputName": "m_inputColor",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "OutputColor",
|
|
"SlotType": "Output",
|
|
"ShaderInputName": "m_outputColor",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "Output",
|
|
"FormatSource": {
|
|
"Pass": "This",
|
|
"Attachment": "InputColor"
|
|
},
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "This",
|
|
"Attachment": "InputColor"
|
|
}
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R16G16B16A16_FLOAT",
|
|
"BindFlags": "3",
|
|
"SharedQueueMask": "1"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "OutputColor",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "Output"
|
|
}
|
|
}
|
|
],
|
|
"FallbackConnections": [
|
|
{
|
|
"Input": "InputColor",
|
|
"Output": "OutputColor"
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "ComputePassData",
|
|
"ShaderAsset": {
|
|
"FilePath": "Shaders/PostProcessing/ContrastAdaptiveSharpening.shader"
|
|
},
|
|
"Make Fullscreen Pass": true,
|
|
"ShaderDataMappings": {
|
|
"FloatMappings": [
|
|
{
|
|
"Name": "m_strength",
|
|
"Value": 0.25
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|