AtomTressFX_PassRequest.azasset 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "PassRequest",
  5. "ClassData": {
  6. // NOTE: HairParentPass does not write into Depth MSAA from Opaque Pass. If new passes downstream
  7. // of HairParentPass will need to use Depth MSAA, HairParentPass will need to be updated to use Depth MSAA
  8. // instead of regular Depth as DepthStencil. Specifically, HairResolvePPLL.pass and the associated
  9. // .azsl file will need to be updated.
  10. "Name": "HairParentPass",
  11. // Note: The following two lines represent the choice of rendering pipeline for the hair.
  12. // You can either choose to use PPLL or ShortCut by changing TemplateName to HairParentPassTemplate (for PPLL)
  13. // or HairParentShortCutPassTemplate (for Shortcut)
  14. // "TemplateName": "HairParentPassTemplate",
  15. "TemplateName": "HairParentShortCutPassTemplate",
  16. "Enabled": true,
  17. "Connections": [
  18. // Critical to keep DepthLinear as input - used to set the size of the Head PPLL image buffer.
  19. // If DepthLinear is not available - connect to another viewport (non MSAA) image.
  20. {
  21. "LocalSlot": "DepthLinear",
  22. "AttachmentRef": {
  23. "Pass": "DepthPrePass",
  24. "Attachment": "DepthLinear"
  25. }
  26. },
  27. {
  28. "LocalSlot": "Depth",
  29. "AttachmentRef": {
  30. "Pass": "DepthPrePass",
  31. "Attachment": "Depth"
  32. }
  33. },
  34. {
  35. "LocalSlot": "RenderTargetInputOutput",
  36. "AttachmentRef": {
  37. "Pass": "OpaquePass",
  38. "Attachment": "Output"
  39. }
  40. },
  41. {
  42. "LocalSlot": "RenderTargetInputOnly",
  43. "AttachmentRef": {
  44. "Pass": "OpaquePass",
  45. "Attachment": "Output"
  46. }
  47. },
  48. // Shadows resources
  49. {
  50. "LocalSlot": "DirectionalShadowmap",
  51. "AttachmentRef": {
  52. "Pass": "Shadows",
  53. "Attachment": "DirectionalShadowmap"
  54. }
  55. },
  56. {
  57. "LocalSlot": "DirectionalESM",
  58. "AttachmentRef": {
  59. "Pass": "Shadows",
  60. "Attachment": "DirectionalESM"
  61. }
  62. },
  63. {
  64. "LocalSlot": "ProjectedShadowmap",
  65. "AttachmentRef": {
  66. "Pass": "Shadows",
  67. "Attachment": "ProjectedShadowmap"
  68. }
  69. },
  70. {
  71. "LocalSlot": "ProjectedESM",
  72. "AttachmentRef": {
  73. "Pass": "Shadows",
  74. "Attachment": "ProjectedESM"
  75. }
  76. },
  77. // Lighting Resources
  78. {
  79. "LocalSlot": "TileLightData",
  80. "AttachmentRef": {
  81. "Pass": "LightCullingPass",
  82. "Attachment": "TileLightData"
  83. }
  84. },
  85. {
  86. "LocalSlot": "LightListRemapped",
  87. "AttachmentRef": {
  88. "Pass": "LightCullingPass",
  89. "Attachment": "LightListRemapped"
  90. }
  91. }
  92. ]
  93. }
  94. }