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.
135 lines
4.9 KiB
Plaintext
135 lines
4.9 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "TransparentParentTemplate",
|
|
"PassClass": "ParentPass",
|
|
"Slots": [
|
|
// Inputs...
|
|
{
|
|
"Name": "DirectionalShadowmap",
|
|
"SlotType": "Input"
|
|
},
|
|
{
|
|
"Name": "DirectionalESM",
|
|
"SlotType": "Input"
|
|
},
|
|
{
|
|
"Name": "ProjectedShadowmap",
|
|
"SlotType": "Input"
|
|
},
|
|
{
|
|
"Name": "ProjectedESM",
|
|
"SlotType": "Input"
|
|
},
|
|
{
|
|
"Name": "TileLightData",
|
|
"SlotType": "Input"
|
|
},
|
|
{
|
|
"Name": "LightListRemapped",
|
|
"SlotType": "Input"
|
|
},
|
|
{
|
|
"Name": "InputLinearDepth",
|
|
"SlotType": "Input"
|
|
},
|
|
// Input/Outputs...
|
|
{
|
|
"Name": "DepthStencil",
|
|
"SlotType": "InputOutput"
|
|
},
|
|
{
|
|
"Name": "InputOutput",
|
|
"SlotType": "InputOutput"
|
|
}
|
|
],
|
|
"PassRequests": [
|
|
{
|
|
"Name": "TransparentPass",
|
|
"TemplateName": "TransparentPassTemplate",
|
|
"Enabled": true,
|
|
"Connections": [
|
|
// Inputs...
|
|
{
|
|
"LocalSlot": "DirectionalLightShadowmap",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "DirectionalShadowmap"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "ExponentialShadowmapDirectional",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "DirectionalESM"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "ProjectedShadowmap",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "ProjectedShadowmap"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "ExponentialShadowmapProjected",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "ProjectedESM"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "TileLightData",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "TileLightData"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "LightListRemapped",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "LightListRemapped"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "InputLinearDepth",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "InputLinearDepth"
|
|
}
|
|
},
|
|
// Input/Outputs...
|
|
{
|
|
"LocalSlot": "DepthStencil",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "DepthStencil"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "InputOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "InputOutput"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "RasterPassData",
|
|
"DrawListTag": "transparent",
|
|
"DrawListSortType": "KeyThenReverseDepth",
|
|
"PipelineViewTag": "MainCamera",
|
|
"PassSrgShaderAsset": {
|
|
"FilePath": "Shaders/ForwardPassSrg.shader"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|