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/SMAAEdgeDetection.pass

76 lines
2.4 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "PassAsset",
"ClassData": {
"PassTemplate": {
"Name": "SMAAEdgeDetectionTemplate",
"PassClass": "SMAAEdgeDetectionPass",
"Slots": [
{
"Name": "InputColor",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader"
},
{
"Name": "InputDepth",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader",
"ImageViewDesc": {
"AspectFlags": [
"Depth"
]
}
},
{
"Name": "OutputEdgeDetectionResult",
"SlotType": "Output",
"ScopeAttachmentUsage": "RenderTarget",
"LoadStoreAction": {
"ClearValue": {
"Value": [
0.0,
0.0,
0.0,
{}
]
},
"LoadAction": "Clear",
"LoadActionStencil": "Clear"
}
}
],
"ImageAttachments": [
{
"Name": "SMAAEdgeDetectionResult",
"SizeSource": {
"Source": {
"Pass": "Parent",
"Attachment": "InputColor"
}
},
"ImageDescriptor": {
"Format": "R8G8_UNORM",
"SharedQueueMask": "Graphics"
}
}
],
"Connections": [
{
"LocalSlot": "OutputEdgeDetectionResult",
"AttachmentRef": {
"Pass": "This",
"Attachment": "SMAAEdgeDetectionResult"
}
}
],
"PassData": {
"$type": "FullscreenTrianglePassData",
"ShaderAsset": {
"FilePath": "Shaders/PostProcessing/SMAAEdgeDetection.shader"
}
}
}
}
}