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

68 lines
2.1 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "PassAsset",
"ClassData": {
"PassTemplate": {
"Name": "DiffuseSpecularMergeTemplate",
"PassClass": "FullScreenTriangle",
"Slots": [
{
"Name": "InputDiffuse",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader"
},
{
"Name": "InputSpecular",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader"
},
{
"Name": "Output",
"SlotType": "Output",
"ScopeAttachmentUsage": "RenderTarget",
"LoadStoreAction": {
"ClearValue": {
"Value": [ 0.0, 0.0, 0.0, 0.0 ]
},
"LoadAction": "Clear"
}
}
],
"ImageAttachments": [
{
"Name": "MergedOutput",
"SizeSource": {
"Source": {
"Pass": "This",
"Attachment": "InputDiffuse"
}
},
"FormatSource": {
"Pass": "This",
"Attachment": "InputDiffuse"
},
"ImageDescriptor": {
"SharedQueueMask": "Graphics"
}
}
],
"Connections": [
{
"LocalSlot": "Output",
"AttachmentRef": {
"Pass": "This",
"Attachment": "MergedOutput"
}
}
],
"PassData": {
"$type": "FullscreenTrianglePassData",
"ShaderAsset": {
"FilePath": "Shaders/PostProcessing/DiffuseSpecularMerge.shader"
}
}
}
}
}