123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- {
- "Type": "JsonSerialization",
- "Version": 1,
- "ClassName": "PassAsset",
- "ClassData": {
- "PassTemplate": {
- "Name": "TaaTemplate",
- "PassClass": "TaaPass",
- "Slots": [
- {
- "Name": "InputColor",
- "SlotType": "Input",
- "ShaderInputName": "m_inputColor",
- "ScopeAttachmentUsage": "Shader"
- },
- {
- "Name": "InputDepth",
- "SlotType": "Input",
- "ShaderInputName": "m_inputDepth",
- "ScopeAttachmentUsage": "Shader",
- "ImageViewDesc": {
- "AspectFlags": [
- "Depth"
- ]
- }
- },
- {
- "Name": "MotionVectors",
- "SlotType": "Input",
- "ShaderInputName": "m_motionVectors",
- "ScopeAttachmentUsage": "Shader"
- },
- {
- "Name": "LastFrameAccumulation",
- "SlotType": "Input",
- "ShaderInputName": "m_lastFrameAccumulation",
- "ScopeAttachmentUsage": "Shader"
- },
- {
- "Name": "OutputColor",
- "SlotType": "Output",
- "ShaderInputName": "m_outputColor",
- "ScopeAttachmentUsage": "Shader"
- }
- ],
- "ImageAttachments": [
- {
- "Name": "Accumulation1",
- "Lifetime": "Imported",
- "FormatSource": {
- "Pass": "This",
- "Attachment": "InputColor"
- },
- "SizeSource": {
- "Source": {
- "Pass": "This",
- "Attachment": "InputColor"
- }
- },
- "ImageDescriptor": {
- "Format": "R16G16B16A16_FLOAT",
- "BindFlags": "ShaderReadWrite",
- "SharedQueueMask": "Graphics"
- }
- },
- {
- "Name": "Accumulation2",
- "Lifetime": "Imported",
- "FormatSource": {
- "Pass": "This",
- "Attachment": "InputColor"
- },
- "SizeSource": {
- "Source": {
- "Pass": "This",
- "Attachment": "InputColor"
- }
- },
- "ImageDescriptor": {
- "Format": "R16G16B16A16_FLOAT",
- "BindFlags": "ShaderReadWrite",
- "SharedQueueMask": "Graphics"
- }
- }
- ],
- "FallbackConnections": [
- {
- "Input": "InputColor",
- "Output": "OutputColor"
- }
- ],
- "PassData": {
- "$type": "TaaPassData",
- "ShaderAsset": {
- "FilePath": "Shaders/PostProcessing/Taa.shader"
- },
- "Make Fullscreen Pass": true,
- "ShaderDataMappings": {
- "FloatMappings": [
- {
- "Name": "m_currentFrameContribution",
- "Value": 0.1
- },
- {
- "Name": "m_clampGamma",
- "Value": 1.0
- },
- {
- "Name": "m_maxDeviationBeforeDampening",
- "Value": 0.5
- }
- ]
- },
- "NumJitterPositions": 1
- }
- }
- }
- }
|