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.
293 lines
10 KiB
Plaintext
293 lines
10 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "EnvironmentCubeMapForwardMSAAPassTemplate",
|
|
"PassClass": "RasterPass",
|
|
"Slots": [
|
|
{
|
|
"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"
|
|
},
|
|
// Outputs...
|
|
{
|
|
"Name": "DiffuseOutput",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"LoadStoreAction": {
|
|
"ClearValue": {
|
|
"Value": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"LoadAction": "Clear"
|
|
}
|
|
},
|
|
{
|
|
"Name": "SpecularOutput",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"LoadStoreAction": {
|
|
"ClearValue": {
|
|
"Value": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"LoadAction": "Clear"
|
|
}
|
|
},
|
|
{
|
|
"Name": "AlbedoOutput",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"LoadStoreAction": {
|
|
"ClearValue": {
|
|
"Value": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"LoadAction": "Clear"
|
|
}
|
|
},
|
|
{
|
|
"Name": "SpecularF0Output",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"LoadStoreAction": {
|
|
"ClearValue": {
|
|
"Value": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"LoadAction": "Clear"
|
|
}
|
|
},
|
|
{
|
|
"Name": "NormalOutput",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"LoadStoreAction": {
|
|
"ClearValue": {
|
|
"Value": [
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"LoadAction": "Clear"
|
|
}
|
|
}
|
|
],
|
|
"ImageAttachments": [
|
|
{
|
|
"Name": "DiffuseImage",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "Parent",
|
|
"Attachment": "Output"
|
|
}
|
|
},
|
|
"MultisampleSource": {
|
|
"Pass": "This",
|
|
"Attachment": "DepthStencilInputOutput"
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R16G16B16A16_FLOAT",
|
|
"SharedQueueMask": "Graphics"
|
|
}
|
|
},
|
|
{
|
|
"Name": "SpecularImage",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "Parent",
|
|
"Attachment": "Output"
|
|
}
|
|
},
|
|
"MultisampleSource": {
|
|
"Pass": "This",
|
|
"Attachment": "DepthStencilInputOutput"
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R16G16B16A16_FLOAT",
|
|
"SharedQueueMask": "Graphics"
|
|
}
|
|
},
|
|
{
|
|
"Name": "AlbedoImage",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "Parent",
|
|
"Attachment": "Output"
|
|
}
|
|
},
|
|
"MultisampleSource": {
|
|
"Pass": "This",
|
|
"Attachment": "DepthStencilInputOutput"
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R8G8B8A8_UNORM",
|
|
"SharedQueueMask": "Graphics"
|
|
}
|
|
},
|
|
{
|
|
"Name": "SpecularF0Image",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "Parent",
|
|
"Attachment": "Output"
|
|
}
|
|
},
|
|
"MultisampleSource": {
|
|
"Pass": "This",
|
|
"Attachment": "DepthStencilInputOutput"
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R8G8B8A8_UNORM",
|
|
"SharedQueueMask": "Graphics"
|
|
}
|
|
},
|
|
{
|
|
"Name": "NormalImage",
|
|
"SizeSource": {
|
|
"Source": {
|
|
"Pass": "Parent",
|
|
"Attachment": "Output"
|
|
}
|
|
},
|
|
"MultisampleSource": {
|
|
"Pass": "This",
|
|
"Attachment": "DepthStencilInputOutput"
|
|
},
|
|
"ImageDescriptor": {
|
|
"Format": "R10G10B10A2_UNORM",
|
|
"SharedQueueMask": "Graphics"
|
|
}
|
|
},
|
|
{
|
|
"Name": "BRDFTexture",
|
|
"Lifetime": "Imported",
|
|
"AssetRef": {
|
|
"FilePath": "Textures/BRDFTexture.attimage"
|
|
}
|
|
}
|
|
],
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "DiffuseOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "DiffuseImage"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "SpecularOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "SpecularImage"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "SpecularF0Output",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "SpecularF0Image"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "AlbedoOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "AlbedoImage"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "NormalOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "NormalImage"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "BRDFTextureInput",
|
|
"AttachmentRef": {
|
|
"Pass": "This",
|
|
"Attachment": "BRDFTexture"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|