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.
114 lines
3.8 KiB
Plaintext
114 lines
3.8 KiB
Plaintext
{
|
|
"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"
|
|
},
|
|
{
|
|
"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": "3",
|
|
"SharedQueueMask": "1"
|
|
}
|
|
},
|
|
{
|
|
"Name": "Accumulation2",
|
|
"Lifetime": "Imported",
|
|
"FormatSource": {
|
|
"Pass": "This",
|
|
"Attachment": "InputColor"
|
|
},
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "This",
|
|
"Attachment": "InputColor"
|
|
}
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R16G16B16A16_FLOAT",
|
|
"BindFlags": "3",
|
|
"SharedQueueMask": "1"
|
|
}
|
|
}
|
|
],
|
|
"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": 16
|
|
}
|
|
}
|
|
}
|
|
}
|