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.
158 lines
5.6 KiB
Plaintext
158 lines
5.6 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "EnvironmentCubeMapForwardSubsurfaceMSAAPassTemplate",
|
|
"PassClass": "RasterPass",
|
|
"Slots": [
|
|
// Inputs...
|
|
{
|
|
"Name": "BRDFTextureInput",
|
|
"ShaderInputName": "m_brdfMap",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
// Input/Outputs...
|
|
{
|
|
"Name": "DepthStencilInputOutput",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "DepthStencil"
|
|
},
|
|
{
|
|
"Name": "DiffuseOutput",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "RenderTarget"
|
|
},
|
|
{
|
|
"Name": "SpecularOutput",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "RenderTarget"
|
|
},
|
|
{
|
|
"Name": "AlbedoOutput",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "RenderTarget"
|
|
},
|
|
{
|
|
"Name": "SpecularF0Output",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "RenderTarget"
|
|
},
|
|
{
|
|
"Name": "NormalOutput",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "RenderTarget"
|
|
},
|
|
// Outputs...
|
|
{
|
|
"Name": "ScatterDistanceOutput",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"LoadStoreAction": {
|
|
"ClearValue": {
|
|
"Value": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"LoadAction": "Clear"
|
|
}
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "BRDFTexture",
|
|
"Lifetime": "Imported",
|
|
"AssetRef": {
|
|
"FilePath": "Textures/BRDFTexture.attimage"
|
|
}
|
|
},
|
|
{
|
|
"Name": "ScatterDistanceImage",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "Parent",
|
|
"Attachment": "Output"
|
|
}
|
|
},
|
|
"MultisampleSource": {
|
|
"Pass": "This",
|
|
"Attachment": "DepthStencilInputOutput"
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R11G11B10_FLOAT",
|
|
"SharedQueueMask": "Graphics"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "BRDFTextureInput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "BRDFTexture"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "ScatterDistanceOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "ScatterDistanceImage"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |