|
@@ -0,0 +1,213 @@
|
|
|
+{
|
|
|
+ "Type": "JsonSerialization",
|
|
|
+ "Version": 1,
|
|
|
+ "ClassName": "PassAsset",
|
|
|
+ "ClassData": {
|
|
|
+ "PassTemplate": {
|
|
|
+ "Name": "MobilePipelineTemplate",
|
|
|
+ "PassClass": "ParentPass",
|
|
|
+ "Slots": [
|
|
|
+ {
|
|
|
+ "Name": "PipelineOutput",
|
|
|
+ "SlotType": "InputOutput"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "PassData": {
|
|
|
+ "$type": "PassData",
|
|
|
+ "PipelineGlobalConnections": [
|
|
|
+ {
|
|
|
+ "GlobalName": "PipelineOutput",
|
|
|
+ "Slot": "PipelineOutput"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "PassRequests": [
|
|
|
+ {
|
|
|
+ "Name": "MorphTargetPass",
|
|
|
+ "TemplateName": "MorphTargetPassTemplate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "SkinningPass",
|
|
|
+ "TemplateName": "SkinningPassTemplate",
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "SkinnedMeshOutputStream",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "MorphTargetPass",
|
|
|
+ "Attachment": "MorphTargetDeltaOutput"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "Shadows",
|
|
|
+ "TemplateName": "MobileShadowParentTemplate",
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "SkinnedMeshes",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "SkinningPass",
|
|
|
+ "Attachment": "SkinnedMeshOutputStream"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "LocalSlot": "PipelineOutput",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "Parent",
|
|
|
+ "Attachment": "PipelineOutput"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "ForwardPass",
|
|
|
+ "TemplateName": "MobileForwardPassTemplate",
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "DirectionalLightShadowmap",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "Shadows",
|
|
|
+ "Attachment": "DirectionalShadowmap"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "LocalSlot": "ProjectedShadowmap",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "Shadows",
|
|
|
+ "Attachment": "ProjectedShadowmap"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "PassData": {
|
|
|
+ "$type": "RasterPassData",
|
|
|
+ "DrawListTag": "mobileForward",
|
|
|
+ "BindViewSrg": true,
|
|
|
+ "PassSrgShaderAsset": {
|
|
|
+ "FilePath": "Shaders/ForwardPassSrg.shader"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "SkyBoxPass",
|
|
|
+ "TemplateName": "MobileSkyBoxTemplate",
|
|
|
+ "Enabled": true,
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "SpecularInputOutput",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "ForwardPass",
|
|
|
+ "Attachment": "LightingOutput"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "LocalSlot": "SkyBoxDepth",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "ForwardPass",
|
|
|
+ "Attachment": "DepthStencilOutput"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "MSAAResolvePass",
|
|
|
+ "TemplateName": "MSAAResolveColorTemplate",
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "Input",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "SkyBoxPass",
|
|
|
+ "Attachment": "SpecularInputOutput"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "TransparentPass",
|
|
|
+ "TemplateName": "MobileTransparentParentTemplate",
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "DepthStencil",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "ForwardPass",
|
|
|
+ "Attachment": "DepthStencilOutput"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "LocalSlot": "InputOutput",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "MSAAResolvePass",
|
|
|
+ "Attachment": "Output"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "AuxGeomPass",
|
|
|
+ "TemplateName": "AuxGeomPassTemplate",
|
|
|
+ "Enabled": true,
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "ColorInputOutput",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "TransparentPass",
|
|
|
+ "Attachment": "InputOutput"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "LocalSlot": "DepthInputOutput",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "ForwardPass",
|
|
|
+ "Attachment": "DepthStencilOutput"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "PassData": {
|
|
|
+ "$type": "RasterPassData",
|
|
|
+ "DrawListTag": "auxgeom",
|
|
|
+ "BindViewSrg": true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "UIPass",
|
|
|
+ "TemplateName": "UIParentTemplate",
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "DepthInputOutput",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "ForwardPass",
|
|
|
+ "Attachment": "DepthStencilOutput"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "LocalSlot": "InputOutput",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "AuxGeomPass",
|
|
|
+ "Attachment": "ColorInputOutput"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "Name": "CopyToSwapChain",
|
|
|
+ "TemplateName": "FullscreenCopyTemplate",
|
|
|
+ "Connections": [
|
|
|
+ {
|
|
|
+ "LocalSlot": "Input",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "UIPass",
|
|
|
+ "Attachment": "InputOutput"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "LocalSlot": "Output",
|
|
|
+ "AttachmentRef": {
|
|
|
+ "Pass": "Parent",
|
|
|
+ "Attachment": "PipelineOutput"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|