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.
104 lines
3.6 KiB
Plaintext
104 lines
3.6 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "TransparentPassTemplate",
|
|
"PassClass": "RasterPass",
|
|
"Slots": [
|
|
// Inputs...
|
|
{
|
|
"Name": "BRDFTextureInput",
|
|
"ShaderInputName": "m_brdfMap",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "InputOutput",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "RenderTarget"
|
|
},
|
|
{
|
|
"Name": "DirectionalLightShadowmap",
|
|
"ShaderInputName": "m_directionalLightShadowmap",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"IsArray": 1
|
|
}
|
|
},
|
|
{
|
|
"Name": "ExponentialShadowmapDirectional",
|
|
"ShaderInputName": "m_directionalLightExponentialShadowmap",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"IsArray": 1
|
|
}
|
|
},
|
|
{
|
|
"Name": "ProjectedShadowmap",
|
|
"ShaderInputName": "m_projectedShadowmaps",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"IsArray": 1
|
|
}
|
|
},
|
|
{
|
|
"Name": "ExponentialShadowmapProjected",
|
|
"ShaderInputName": "m_projectedExponentialShadowmap",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"IsArray": 1
|
|
}
|
|
},
|
|
{
|
|
"Name": "TileLightData",
|
|
"SlotType": "Input",
|
|
"ShaderInputName": "m_tileLightData",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "LightListRemapped",
|
|
"SlotType": "Input",
|
|
"ShaderInputName": "m_lightListRemapped",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"Name": "InputLinearDepth",
|
|
"SlotType": "Input",
|
|
"ShaderInputName": "m_linearDepthTexture",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
// Input/Outputs
|
|
{
|
|
"Name": "DepthStencil",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "DepthStencil"
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "BRDFTexture",
|
|
"Lifetime": "Imported",
|
|
"AssetRef": {
|
|
"FilePath": "Textures/BRDFTexture.attimage"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "BRDFTextureInput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "BRDFTexture"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|