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.
86 lines
2.9 KiB
Plaintext
86 lines
2.9 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "LightCullingTilePrepareMSAATemplate",
|
|
"PassClass": "LightCullingTilePreparePass",
|
|
"Slots": [
|
|
{
|
|
"Name": "TileLightData",
|
|
"SlotType": "Output",
|
|
"ShaderInputName": "m_tileLightData",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "Depth",
|
|
"SlotType": "Input",
|
|
"ShaderInputName": "m_depthBufferMSAA",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"AspectFlags": [
|
|
"Depth"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "DepthTransparentMin",
|
|
"SlotType": "Input",
|
|
"ShaderInputName": "m_depthBufferTransparentMin",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"AspectFlags": [
|
|
"Depth"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "DepthTransparentMax",
|
|
"SlotType": "Input",
|
|
"ShaderInputName": "m_depthBufferTransparentMax",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"AspectFlags": [
|
|
"Depth"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "TileLightData",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "This",
|
|
"Attachment": "Depth"
|
|
},
|
|
"Multipliers": {
|
|
"WidthMultiplier": 0.0625,
|
|
"HeightMultiplier": 0.0625
|
|
}
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R32G32B32A32_UINT"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "TileLightData",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "TileLightData"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "ComputePassData",
|
|
"ShaderAsset": {
|
|
"FilePath": "Shaders/LightCulling/LightCullingTilePrepare.shader"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|