Files
mrieggeramzn bd8c53550a Replacing the old esm shadow blur with faster blur (#4095)
* Replacing the old gaussian blur with a much faster, better quality kawase blur

Signed-off-by: mrieggeramzn <mriegger@amazon.com>

* Removing atomtesting outdated msg

Signed-off-by: mrieggeramzn <mriegger@amazon.com>

* Some recommendations from Tommy

Signed-off-by: mrieggeramzn <mriegger@amazon.com>

* Adding early termination from previous gaussian filtering algorithm that kawase replaces

Signed-off-by: mrieggeramzn <mriegger@amazon.com>

* Removing pcf method

Signed-off-by: mrieggeramzn <mriegger@amazon.com>

* removing the old blur and adding in the new kawase blur into .cmake file

Signed-off-by: mrieggeramzn <mriegger@amazon.com>
2021-09-14 17:12:17 -07:00

85 lines
2.8 KiB
Plaintext

{
"Type": "JsonSerialization",
"Version": 1,
"ClassName": "PassAsset",
"ClassData": {
"PassTemplate": {
"Name": "EsmShadowmapsTemplate",
"PassClass": "EsmShadowmapsPass",
"Slots": [
{
"Name": "DepthShadowmaps",
"SlotType": "Input",
"ScopeAttachmentUsage": "Shader",
"LoadStoreAction": {
"LoadAction": "Load",
"StoreAction": "DontCare"
}
},
{
"Name": "EsmShadowmaps",
"SlotType": "Output",
"ScopeAttachmentUsage": "Shader",
"LoadStoreAction": {
"LoadAction": "DontCare",
"StoreAction": "Store"
}
}
],
"PassRequests": [
{
"Name": "Exponentiation",
"TemplateName": "DepthExponentiationTemplate",
"Connections": [
{
"LocalSlot": "Depth",
"AttachmentRef": {
"Pass": "Parent",
"Attachment": "DepthShadowmaps"
}
}
]
},
{
"Name": "KawaseBlur0",
"TemplateName": "KawaseShadowBlurTemplate",
"Enabled": true,
"Connections": [
{
"LocalSlot": "Input",
"AttachmentRef": {
"Pass": "Exponentiation",
"Attachment": "Exponent"
}
}
]
},
{
"Name": "KawaseBlur1",
"TemplateName": "KawaseShadowBlurTemplate",
"Enabled": true,
"Connections": [
{
"LocalSlot": "Input",
"AttachmentRef": {
"Pass": "KawaseBlur0",
"Attachment": "Output"
}
}
]
}
],
"Connections": [
{
"LocalSlot": "EsmShadowmaps",
"AttachmentRef": {
"Pass": "KawaseBlur1",
"Attachment": "Output"
}
}
]
}
}
}