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.
o3de/Gems/Atom/Feature/Common/Assets/Passes/MSAAResolveCustom.pass

82 lines
2.6 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "PassAsset",
"ClassData": {
"PassTemplate": {
"Name": "MSAAResolveCustomTemplate",
"PassClass": "MSAAResolveFullScreenPass",
"Slots": [
{
"Name": "Input",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader"
},
{
"Name": "Output",
"SlotType": "Output",
"ScopeAttachmentUsage": "RenderTarget",
"LoadStoreAction": {
"LoadAction": "Clear"
}
}
],
"ImageAttachments": [
{
"Name": "ResolvedOutput",
"SizeSource": {
"Source": {
"Pass": "This",
"Attachment": "Input"
}
},
"FormatSource": {
"Pass": "This",
"Attachment": "Input"
},
"ImageDescriptor": {
"SharedQueueMask": "Graphics"
}
}
],
"Connections": [
{
"LocalSlot": "Output",
"AttachmentRef": {
"Pass": "This",
"Attachment": "ResolvedOutput"
}
}
],
"FallbackConnections": [
// used in non-MSAA pipelines when the resolve is disabled
{
"Input" : "Input",
"Output" : "Output"
}
],
"PassData": {
"$type": "FullscreenTrianglePassData",
"ShaderAsset": {
"FilePath": "Shaders/PostProcessing/MSAAResolveCustom.shader"
},
"PipelineViewTag": "MainCamera",
"ShaderDataMappings": {
"UintMappings": [
{
"Name": "enableNeighborClamping",
"Value": 0
}
],
"FloatMappings": [
{
"Name": "maxNeighborContrast",
"Value": 2.0
}
]
}
}
}
}
}