123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- {
- "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": [
- "CopyRead",
- "Color",
- "ShaderReadWrite",
- "ShaderWrite",
- "ShaderRead"
- ],
- "SharedQueueMask": "Graphics"
- }
- }
- ],
- "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.5
- }
- ]
- }
- }
- }
- }
- }
|