CheckerboardPipeline.pass 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassAsset",
  5. "ClassData": {
  6. "PassTemplate": {
  7. "Name": "CheckerboardPipeline",
  8. "PassClass": "ParentPass",
  9. "Slots": [
  10. {
  11. "Name": "PipelineOutput",
  12. "SlotType": "InputOutput"
  13. }
  14. ],
  15. "PassData": {
  16. "$type": "PassData",
  17. "PipelineGlobalConnections": [
  18. {
  19. "GlobalName": "PipelineOutput",
  20. "Slot": "PipelineOutput"
  21. }
  22. ]
  23. },
  24. "PassRequests": [
  25. {
  26. "Name": "MorphTargetPass",
  27. "TemplateName": "MorphTargetPassTemplate"
  28. },
  29. {
  30. "Name": "SkinningPass",
  31. "TemplateName": "SkinningPassTemplate",
  32. "Connections": [
  33. {
  34. "LocalSlot": "SkinnedMeshOutputStream",
  35. "AttachmentRef": {
  36. "Pass": "MorphTargetPass",
  37. "Attachment": "MorphTargetDeltaOutput"
  38. }
  39. }
  40. ]
  41. },
  42. {
  43. "Name": "CascadedShadowmapsPass",
  44. "TemplateName": "CascadedShadowmapsTemplate",
  45. "PassData": {
  46. "$type": "RasterPassData",
  47. "DrawListTag": "shadow",
  48. "PipelineViewTag": "DirectionalLightView"
  49. },
  50. "Connections": [
  51. {
  52. "LocalSlot": "SkinnedMeshes",
  53. "AttachmentRef": {
  54. "Pass": "SkinningPass",
  55. "Attachment": "SkinnedMeshOutputStream"
  56. }
  57. }
  58. ]
  59. },
  60. {
  61. "Name": "ProjectedShadowmapsPass",
  62. "TemplateName": "ProjectedShadowmapsTemplate",
  63. "PassData": {
  64. "$type": "RasterPassData",
  65. "DrawListTag": "shadow",
  66. "PipelineViewTag": "ProjectedShadowView"
  67. },
  68. "Connections": [
  69. {
  70. "LocalSlot": "SkinnedMeshes",
  71. "AttachmentRef": {
  72. "Pass": "SkinningPass",
  73. "Attachment": "SkinnedMeshOutputStream"
  74. }
  75. }
  76. ]
  77. },
  78. {
  79. "Name": "EsmShadowmapsPassDirectional",
  80. "TemplateName": "EsmShadowmapsTemplate",
  81. "PassData": {
  82. "$type": "EsmShadowmapsPassData",
  83. "LightType": "directional"
  84. },
  85. "Connections": [
  86. {
  87. "LocalSlot": "DepthShadowmaps",
  88. "AttachmentRef": {
  89. "Pass": "CascadedShadowmapsPass",
  90. "Attachment": "Shadowmap"
  91. }
  92. }
  93. ]
  94. },
  95. {
  96. "Name": "EsmShadowmapsPassProjected",
  97. "TemplateName": "EsmShadowmapsTemplate",
  98. "PassData": {
  99. "$type": "EsmShadowmapsPassData",
  100. "LightType": "projected"
  101. },
  102. "Connections": [
  103. {
  104. "LocalSlot": "DepthShadowmaps",
  105. "AttachmentRef": {
  106. "Pass": "ProjectedShadowmapsPass",
  107. "Attachment": "Shadowmap"
  108. }
  109. }
  110. ]
  111. },
  112. {
  113. "Name": "DepthTransparentMinPass",
  114. "TemplateName": "DepthPassTemplate",
  115. "PassData": {
  116. "$type": "RasterPassData",
  117. "DrawListTag": "depthTransparentMin",
  118. "PipelineViewTag": "MainCamera"
  119. },
  120. "Connections": [
  121. {
  122. "LocalSlot": "SkinnedMeshes",
  123. "AttachmentRef": {
  124. "Pass": "SkinningPass",
  125. "Attachment": "SkinnedMeshOutputStream"
  126. }
  127. }
  128. ]
  129. },
  130. {
  131. "Name": "DepthTransparentMaxPass",
  132. "TemplateName": "DepthMaxPassTemplate",
  133. "PassData": {
  134. "$type": "RasterPassData",
  135. "DrawListTag": "depthTransparentMax",
  136. "PipelineViewTag": "MainCamera"
  137. },
  138. "Connections": [
  139. {
  140. "LocalSlot": "SkinnedMeshes",
  141. "AttachmentRef": {
  142. "Pass": "SkinningPass",
  143. "Attachment": "SkinnedMeshOutputStream"
  144. }
  145. }
  146. ]
  147. },
  148. {
  149. "Name": "DepthMSAAPass",
  150. "TemplateName": "DepthCheckerboardPassTemplate",
  151. "PassData": {
  152. "$type": "RasterPassData",
  153. "DrawListTag": "depth",
  154. "PipelineViewTag": "MainCamera"
  155. },
  156. "Connections": [
  157. {
  158. "LocalSlot": "SkinnedMeshes",
  159. "AttachmentRef": {
  160. "Pass": "SkinningPass",
  161. "Attachment": "SkinnedMeshOutputStream"
  162. }
  163. }
  164. ]
  165. },
  166. {
  167. "Name": "LightCullingTilePreparePass",
  168. "TemplateName": "LightCullingTilePrepareMSAATemplate",
  169. "Connections": [
  170. {
  171. "LocalSlot": "Depth",
  172. "AttachmentRef": {
  173. "Pass": "DepthMSAAPass",
  174. "Attachment": "Output"
  175. }
  176. },
  177. {
  178. "LocalSlot": "DepthTransparentMin",
  179. "AttachmentRef": {
  180. "Pass": "DepthTransparentMinPass",
  181. "Attachment": "Output"
  182. }
  183. },
  184. {
  185. "LocalSlot": "DepthTransparentMax",
  186. "AttachmentRef": {
  187. "Pass": "DepthTransparentMaxPass",
  188. "Attachment": "Output"
  189. }
  190. }
  191. ]
  192. },
  193. {
  194. "Name": "LightCullingPass",
  195. "TemplateName": "LightCullingTemplate",
  196. "Connections": [
  197. {
  198. "LocalSlot": "TileLightData",
  199. "AttachmentRef": {
  200. "Pass": "LightCullingTilePreparePass",
  201. "Attachment": "TileLightData"
  202. }
  203. }
  204. ]
  205. },
  206. {
  207. "Name": "LightCullingRemapPass",
  208. "TemplateName": "LightCullingRemapTemplate",
  209. "Connections": [
  210. {
  211. "LocalSlot": "TileLightData",
  212. "AttachmentRef": {
  213. "Pass": "LightCullingTilePreparePass",
  214. "Attachment": "TileLightData"
  215. }
  216. },
  217. {
  218. "LocalSlot": "LightCount",
  219. "AttachmentRef": {
  220. "Pass": "LightCullingPass",
  221. "Attachment": "LightCount"
  222. }
  223. },
  224. {
  225. "LocalSlot": "LightList",
  226. "AttachmentRef": {
  227. "Pass": "LightCullingPass",
  228. "Attachment": "LightList"
  229. }
  230. }
  231. ]
  232. },
  233. {
  234. "Name": "Forward",
  235. "TemplateName": "ForwardCheckerboardPassTemplate",
  236. "Connections": [
  237. {
  238. "LocalSlot": "DirectionalLightShadowmap",
  239. "AttachmentRef": {
  240. "Pass": "CascadedShadowmapsPass",
  241. "Attachment": "Shadowmap"
  242. }
  243. },
  244. {
  245. "LocalSlot": "ExponentialShadowmapDirectional",
  246. "AttachmentRef": {
  247. "Pass": "EsmShadowmapsPassDirectional",
  248. "Attachment": "EsmShadowmaps"
  249. }
  250. },
  251. {
  252. "LocalSlot": "ProjectedShadowmap",
  253. "AttachmentRef": {
  254. "Pass": "ProjectedShadowmapsPass",
  255. "Attachment": "Shadowmap"
  256. }
  257. },
  258. {
  259. "LocalSlot": "ExponentialShadowmapProjected",
  260. "AttachmentRef": {
  261. "Pass": "EsmShadowmapsPassProjected",
  262. "Attachment": "EsmShadowmaps"
  263. }
  264. },
  265. {
  266. "LocalSlot": "DepthStencilInputOutput",
  267. "AttachmentRef": {
  268. "Pass": "DepthMSAAPass",
  269. "Attachment": "Output"
  270. }
  271. },
  272. {
  273. "LocalSlot": "TileLightData",
  274. "AttachmentRef": {
  275. "Pass": "LightCullingTilePreparePass",
  276. "Attachment": "TileLightData"
  277. }
  278. },
  279. {
  280. "LocalSlot": "LightListRemapped",
  281. "AttachmentRef": {
  282. "Pass": "LightCullingRemapPass",
  283. "Attachment": "LightListRemapped"
  284. }
  285. }
  286. ],
  287. "PassData": {
  288. "$type": "RasterPassData",
  289. "DrawListTag": "forward",
  290. "PipelineViewTag": "MainCamera",
  291. "PassSrgShaderAsset": {
  292. "FilePath": "Shaders/ForwardPassSrg.shader"
  293. }
  294. }
  295. },
  296. {
  297. "Name": "DiffuseGlobalIlluminationPass",
  298. "TemplateName": "DiffuseGlobalIlluminationPassTemplate",
  299. "Connections": [
  300. {
  301. "LocalSlot": "DiffuseInputOutput",
  302. "AttachmentRef": {
  303. "Pass": "Forward",
  304. "Attachment": "DiffuseOutput"
  305. }
  306. },
  307. {
  308. "LocalSlot": "AlbedoInput",
  309. "AttachmentRef": {
  310. "Pass": "Forward",
  311. "Attachment": "AlbedoOutput"
  312. }
  313. },
  314. {
  315. "LocalSlot": "NormalInput",
  316. "AttachmentRef": {
  317. "Pass": "Forward",
  318. "Attachment": "NormalOutput"
  319. }
  320. },
  321. {
  322. "LocalSlot": "DepthStencilInputOutput",
  323. "AttachmentRef": {
  324. "Pass": "Forward",
  325. "Attachment": "DepthStencilInputOutput"
  326. }
  327. }
  328. ]
  329. },
  330. {
  331. "Name": "ReflectionsPass",
  332. "TemplateName": "ReflectionsParentPassTemplate",
  333. "Enabled": true,
  334. "Connections": [
  335. {
  336. "LocalSlot": "NormalInput",
  337. "AttachmentRef": {
  338. "Pass": "Forward",
  339. "Attachment": "NormalOutput"
  340. }
  341. },
  342. {
  343. "LocalSlot": "SpecularF0Input",
  344. "AttachmentRef": {
  345. "Pass": "Forward",
  346. "Attachment": "SpecularF0Output"
  347. }
  348. },
  349. {
  350. "LocalSlot": "AlbedoInput",
  351. "AttachmentRef": {
  352. "Pass": "Forward",
  353. "Attachment": "AlbedoOutput"
  354. }
  355. },
  356. {
  357. "LocalSlot": "DepthStencilInputOutput",
  358. "AttachmentRef": {
  359. "Pass": "Forward",
  360. "Attachment": "DepthStencilInputOutput"
  361. }
  362. },
  363. {
  364. "LocalSlot": "SpecularInputOutput",
  365. "AttachmentRef": {
  366. "Pass": "Forward",
  367. "Attachment": "SpecularOutput"
  368. }
  369. }
  370. ]
  371. },
  372. {
  373. "Name": "SkyBoxPass",
  374. "TemplateName": "SkyBoxTwoOutputsTemplate",
  375. "Enabled": true,
  376. "Connections": [
  377. {
  378. "LocalSlot": "SpecularInputOutput",
  379. "AttachmentRef": {
  380. "Pass": "ReflectionsPass",
  381. "Attachment": "SpecularInputOutput"
  382. }
  383. },
  384. {
  385. "LocalSlot": "ReflectionInputOutput",
  386. "AttachmentRef": {
  387. "Pass": "ReflectionsPass",
  388. "Attachment": "ReflectionOutput"
  389. }
  390. },
  391. {
  392. "LocalSlot": "SkyBoxDepth",
  393. "AttachmentRef": {
  394. "Pass": "ReflectionsPass",
  395. "Attachment": "DepthStencilInputOutput"
  396. }
  397. }
  398. ]
  399. },
  400. {
  401. "Name": "ReflectionCompositePass",
  402. "TemplateName": "ReflectionCompositePassTemplate",
  403. "Connections": [
  404. {
  405. "LocalSlot": "ReflectionInput",
  406. "AttachmentRef": {
  407. "Pass": "SkyBoxPass",
  408. "Attachment": "ReflectionInputOutput"
  409. }
  410. },
  411. {
  412. "LocalSlot": "SpecularInputOutput",
  413. "AttachmentRef": {
  414. "Pass": "SkyBoxPass",
  415. "Attachment": "SpecularInputOutput"
  416. }
  417. },
  418. {
  419. "LocalSlot": "DepthStencilInputOutput",
  420. "AttachmentRef": {
  421. "Pass": "SkyBoxPass",
  422. "Attachment": "SkyBoxDepth"
  423. }
  424. }
  425. ],
  426. "PassData": {
  427. "$type": "FullscreenTrianglePassData",
  428. "ShaderAsset": {
  429. "FilePath": "Shaders/Reflections/ReflectionComposite.shader"
  430. },
  431. "StencilRef": 1,
  432. "PipelineViewTag": "MainCamera"
  433. }
  434. },
  435. {
  436. "Name": "CheckerboardColorResolvePass",
  437. "TemplateName": "CheckerboardResolveColorTemplate",
  438. "Connections": [
  439. {
  440. "LocalSlot": "InputDepth_curr",
  441. "AttachmentRef": {
  442. "Pass": "ReflectionsPass",
  443. "Attachment": "DepthStencilInputOutput"
  444. }
  445. },
  446. {
  447. "LocalSlot": "InputColor0_curr",
  448. "AttachmentRef": {
  449. "Pass": "DiffuseGlobalIlluminationPass",
  450. "Attachment": "DiffuseInputOutput"
  451. }
  452. },
  453. {
  454. "LocalSlot": "InputColor1_curr",
  455. "AttachmentRef": {
  456. "Pass": "ReflectionCompositePass",
  457. "Attachment": "SpecularInputOutput"
  458. }
  459. },
  460. {
  461. "LocalSlot": "InputColor2_curr",
  462. "AttachmentRef": {
  463. "Pass": "Forward",
  464. "Attachment": "ScatterDistanceOutput"
  465. }
  466. }
  467. ]
  468. },
  469. {
  470. "Name": "MSAAResolveDepthPass",
  471. "TemplateName": "CheckerboardResolveDepthTemplate",
  472. "Connections": [
  473. {
  474. "LocalSlot": "Input",
  475. "AttachmentRef": {
  476. "Pass": "ReflectionsPass",
  477. "Attachment": "DepthStencilInputOutput"
  478. }
  479. }
  480. ]
  481. },
  482. {
  483. "Name": "DepthToLinearDepthPass",
  484. "TemplateName": "DepthToLinearTemplate",
  485. "Connections": [
  486. {
  487. "LocalSlot": "Input",
  488. "AttachmentRef": {
  489. "Pass": "MSAAResolveDepthPass",
  490. "Attachment": "Output"
  491. }
  492. }
  493. ]
  494. },
  495. {
  496. "Name": "SubsurfaceScatteringPass",
  497. "TemplateName": "SubsurfaceScatteringPassTemplate",
  498. "Enabled": true,
  499. "Connections": [
  500. {
  501. "LocalSlot": "InputDiffuse",
  502. "AttachmentRef": {
  503. "Pass": "CheckerboardColorResolvePass",
  504. "Attachment": "Output0"
  505. }
  506. },
  507. {
  508. "LocalSlot": "InputLinearDepth",
  509. "AttachmentRef": {
  510. "Pass": "DepthToLinearDepthPass",
  511. "Attachment": "Output"
  512. }
  513. },
  514. {
  515. "LocalSlot": "InputScatterDistance",
  516. "AttachmentRef": {
  517. "Pass": "CheckerboardColorResolvePass",
  518. "Attachment": "Output2"
  519. }
  520. }
  521. ],
  522. "PassData": {
  523. "$type": "ComputePassData",
  524. "ShaderAsset": {
  525. "FilePath": "Shaders/PostProcessing/ScreenSpaceSubsurfaceScatteringCS.shader"
  526. },
  527. "FullscreenDispatch": true,
  528. "PipelineViewTag": "MainCamera"
  529. }
  530. },
  531. {
  532. "Name": "DiffuseSpecularMergePass",
  533. "TemplateName": "DiffuseSpecularMergeTemplate",
  534. "Connections": [
  535. {
  536. "LocalSlot": "InputDiffuse",
  537. "AttachmentRef": {
  538. "Pass": "SubsurfaceScatteringPass",
  539. "Attachment": "Output"
  540. }
  541. },
  542. {
  543. "LocalSlot": "InputSpecular",
  544. "AttachmentRef": {
  545. "Pass": "CheckerboardColorResolvePass",
  546. "Attachment": "Output1"
  547. }
  548. }
  549. ]
  550. },
  551. {
  552. "Name": "TransparentPass",
  553. "TemplateName": "TransparentPassTemplate",
  554. "Enabled": true,
  555. "Connections": [
  556. {
  557. "LocalSlot": "InputOutput",
  558. "AttachmentRef": {
  559. "Pass": "DiffuseSpecularMergePass",
  560. "Attachment": "Output"
  561. }
  562. },
  563. {
  564. "LocalSlot": "DirectionalLightShadowmap",
  565. "AttachmentRef": {
  566. "Pass": "CascadedShadowmapsPass",
  567. "Attachment": "Shadowmap"
  568. }
  569. },
  570. {
  571. "LocalSlot": "ExponentialShadowmapDirectional",
  572. "AttachmentRef": {
  573. "Pass": "EsmShadowmapsPassDirectional",
  574. "Attachment": "EsmShadowmaps"
  575. }
  576. },
  577. {
  578. "LocalSlot": "ProjectedShadowmap",
  579. "AttachmentRef": {
  580. "Pass": "ProjectedShadowmapsPass",
  581. "Attachment": "Shadowmap"
  582. }
  583. },
  584. {
  585. "LocalSlot": "ExponentialShadowmapProjected",
  586. "AttachmentRef": {
  587. "Pass": "EsmShadowmapsPassProjected",
  588. "Attachment": "EsmShadowmaps"
  589. }
  590. },
  591. {
  592. "LocalSlot": "DepthStencil",
  593. "AttachmentRef": {
  594. "Pass": "MSAAResolveDepthPass",
  595. "Attachment": "Output"
  596. }
  597. },
  598. {
  599. "LocalSlot": "TileLightData",
  600. "AttachmentRef": {
  601. "Pass": "LightCullingTilePreparePass",
  602. "Attachment": "TileLightData"
  603. }
  604. },
  605. {
  606. "LocalSlot": "LightListRemapped",
  607. "AttachmentRef": {
  608. "Pass": "LightCullingRemapPass",
  609. "Attachment": "LightListRemapped"
  610. }
  611. },
  612. {
  613. "LocalSlot": "InputLinearDepth",
  614. "AttachmentRef": {
  615. "Pass": "DepthToLinearDepthPass",
  616. "Attachment": "Output"
  617. }
  618. }
  619. ],
  620. "PassData": {
  621. "$type": "RasterPassData",
  622. "DrawListTag": "transparent",
  623. "PipelineViewTag": "MainCamera",
  624. "PassSrgShaderAsset": {
  625. "FilePath": "Shaders/ForwardPassSrg.shader"
  626. }
  627. }
  628. },
  629. {
  630. "Name": "SMAA1xApplyLinearHDRColorPass",
  631. "TemplateName": "SMAA1xApplyLinearHDRColorTemplate",
  632. "Connections": [
  633. {
  634. "LocalSlot": "InputColor",
  635. "AttachmentRef": {
  636. "Pass": "DiffuseSpecularMergePass",
  637. "Attachment": "Output"
  638. }
  639. },
  640. {
  641. "LocalSlot": "InputDepth",
  642. "AttachmentRef": {
  643. "Pass": "MSAAResolveDepthPass",
  644. "Attachment": "Output"
  645. }
  646. }
  647. ]
  648. },
  649. {
  650. "Name": "DepthOfFieldPass",
  651. "TemplateName": "DepthOfFieldTemplate",
  652. "Enabled": true,
  653. "Connections": [
  654. {
  655. "LocalSlot": "DoFColorInput",
  656. "AttachmentRef": {
  657. "Pass": "SMAA1xApplyLinearHDRColorPass",
  658. "Attachment": "OutputColor"
  659. }
  660. },
  661. {
  662. "LocalSlot": "DoFDepthInput",
  663. "AttachmentRef": {
  664. "Pass": "MSAAResolveDepthPass",
  665. "Attachment": "Output"
  666. }
  667. }
  668. ]
  669. },
  670. {
  671. "Name": "DownsampleLuminanceMinAvgMax",
  672. "TemplateName": "DownsampleLuminanceMinAvgMaxCS",
  673. "Connections": [
  674. {
  675. "LocalSlot": "Input",
  676. "AttachmentRef": {
  677. "Pass": "DepthOfFieldPass",
  678. "Attachment": "DoFOutput"
  679. }
  680. }
  681. ]
  682. },
  683. {
  684. "Name": "DownsampleLuminanceMipChain",
  685. "TemplateName": "DownsampleMipChainTemplate",
  686. "Connections": [
  687. {
  688. "LocalSlot": "MipChainInputOutput",
  689. "AttachmentRef": {
  690. "Pass": "DownsampleLuminanceMinAvgMax",
  691. "Attachment": "Output"
  692. }
  693. }
  694. ],
  695. "PassData": {
  696. "$type": "DownsampleMipChainPassData",
  697. "ShaderAsset": {
  698. "FilePath": "Shaders/PostProcessing/DownsampleMinAvgMaxCS.shader"
  699. }
  700. }
  701. },
  702. {
  703. "Name": "EyeAdaptationPass",
  704. "TemplateName": "EyeAdaptationTemplate",
  705. "Enabled": false,
  706. "Connections": [
  707. {
  708. "LocalSlot": "SceneLuminanceInput",
  709. "AttachmentRef": {
  710. "Pass": "DownsampleLuminanceMipChain",
  711. "Attachment": "MipChainInputOutput"
  712. }
  713. }
  714. ]
  715. },
  716. {
  717. "Name": "LookModificationTransformPass",
  718. "TemplateName": "LookModificationTransformTemplate",
  719. "Enabled": true,
  720. "Connections": [
  721. {
  722. "LocalSlot": "Input",
  723. "AttachmentRef": {
  724. "Pass": "DepthOfFieldPass",
  725. "Attachment": "DoFOutput"
  726. }
  727. },
  728. {
  729. "LocalSlot": "EyeAdaptationDataInput",
  730. "AttachmentRef": {
  731. "Pass": "EyeAdaptationPass",
  732. "Attachment": "EyeAdaptationDataInputOutput"
  733. }
  734. },
  735. {
  736. "LocalSlot": "PipelineOutput",
  737. "AttachmentRef": {
  738. "Pass": "Parent",
  739. "Attachment": "PipelineOutput"
  740. }
  741. }
  742. ]
  743. },
  744. {
  745. "Name": "DisplayMapperPass",
  746. "TemplateName": "DisplayMapperTemplate",
  747. "Enabled": true,
  748. "Connections": [
  749. {
  750. "LocalSlot": "Input",
  751. "AttachmentRef": {
  752. "Pass": "LookModificationTransformPass",
  753. "Attachment": "Output"
  754. }
  755. },
  756. {
  757. "LocalSlot": "PipelineOutput",
  758. "AttachmentRef": {
  759. "Pass": "Parent",
  760. "Attachment": "PipelineOutput"
  761. }
  762. }
  763. ]
  764. },
  765. {
  766. "Name": "AuxGeomPass",
  767. "TemplateName": "AuxGeomPassTemplate",
  768. "Enabled": true,
  769. "Connections": [
  770. {
  771. "LocalSlot": "ColorInputOutput",
  772. "AttachmentRef": {
  773. "Pass": "DisplayMapperPass",
  774. "Attachment": "Output"
  775. }
  776. },
  777. {
  778. "LocalSlot": "DepthInputOutput",
  779. "AttachmentRef": {
  780. "Pass": "MSAAResolveDepthPass",
  781. "Attachment": "Output"
  782. }
  783. }
  784. ],
  785. "PassData": {
  786. "$type": "RasterPassData",
  787. "DrawListTag": "auxgeom",
  788. "PipelineViewTag": "MainCamera"
  789. }
  790. },
  791. {
  792. "Name": "LightCullingHeatmapPass",
  793. "TemplateName": "LightCullingHeatmapTemplate",
  794. "Enabled": false,
  795. "Connections": [
  796. {
  797. "LocalSlot": "ColorInputOutput",
  798. "AttachmentRef": {
  799. "Pass": "AuxGeomPass",
  800. "Attachment": "ColorInputOutput"
  801. }
  802. },
  803. {
  804. "LocalSlot": "TileLightData",
  805. "AttachmentRef": {
  806. "Pass": "LightCullingRemapPass",
  807. "Attachment": "TileLightData"
  808. }
  809. }
  810. ],
  811. "PassData": {
  812. "$type": "RasterPassData",
  813. "PipelineViewTag": "MainCamera"
  814. }
  815. },
  816. {
  817. "Name": "ImGuiPass",
  818. "TemplateName": "ImGuiPassTemplate",
  819. "Enabled": true,
  820. "Connections": [
  821. {
  822. "LocalSlot": "InputOutput",
  823. "AttachmentRef": {
  824. "Pass": "LightCullingHeatmapPass",
  825. "Attachment": "ColorInputOutput"
  826. }
  827. }
  828. ],
  829. "PassData": {
  830. "$type": "ImGuiPassData",
  831. "IsDefaultImGui": true
  832. }
  833. },
  834. {
  835. "Name": "2DPass",
  836. "TemplateName": "UIPassTemplate",
  837. "Enabled": true,
  838. "Connections": [
  839. {
  840. "LocalSlot": "InputOutput",
  841. "AttachmentRef": {
  842. "Pass": "ImGuiPass",
  843. "Attachment": "InputOutput"
  844. }
  845. },
  846. {
  847. "LocalSlot": "DepthInputOutput",
  848. "AttachmentRef": {
  849. "Pass": "MSAAResolveDepthPass",
  850. "Attachment": "Output"
  851. }
  852. }
  853. ],
  854. "PassData": {
  855. "$type": "RasterPassData",
  856. "DrawListTag": "2dpass",
  857. "PipelineViewTag": "MainCamera"
  858. }
  859. },
  860. {
  861. "Name": "CopyToSwapChain",
  862. "TemplateName": "FullscreenCopyTemplate",
  863. "Connections": [
  864. {
  865. "LocalSlot": "Input",
  866. "AttachmentRef": {
  867. "Pass": "2DPass",
  868. "Attachment": "InputOutput"
  869. }
  870. },
  871. {
  872. "LocalSlot": "Output",
  873. "AttachmentRef": {
  874. "Pass": "Parent",
  875. "Attachment": "PipelineOutput"
  876. }
  877. }
  878. ]
  879. }
  880. ]
  881. }
  882. }
  883. }