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

73 lines
2.3 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "PassAsset",
"ClassData": {
"PassTemplate": {
"Name": "DepthExponentiationTemplate",
"PassClass": "DepthExponentiationPass",
"Slots": [
{
"Name": "Depth",
"SlotType": "Input",
"ShaderInputName": "m_inputShadowmap",
"ScopeAttachmentUsage": "Shader",
"LoadStoreAction": {
"LoadAction": "Load",
"StoreAction": "DontCare"
},
"ImageViewDesc": {
"IsArray": 1
}
},
{
"Name": "Exponent",
"SlotType": "Output",
"ShaderInputName": "m_outputShadowmap",
"ScopeAttachmentUsage": "Shader",
"LoadStoreAction": {
"LoadAction": "DontCare",
"StoreAction": "Store"
},
"ImageViewDesc": {
"IsArray": 1
}
}
],
"PassData": {
"$type": "ComputePassData",
"ShaderAsset": {
"FilePath": "Shaders/Shadow/DepthExponentiation.shader"
}
},
"ImageAttachments": [
{
"Name": "ExponentialShadowmapImage",
"SizeSource": {
"Source": {
"Pass": "This",
"Attachment": "Depth"
}
},
"ArraySizeSource": {
"Pass": "This",
"Attachment": "Depth"
},
"ImageDescriptor": {
"Format": "R16_FLOAT"
}
}
],
"Connections": [
{
"LocalSlot": "Exponent",
"AttachmentRef": {
"Pass": "This",
"Attachment": "ExponentialShadowmapImage"
}
}
]
}
}
}