MainRenderPipeline.azasset 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "RenderPipelineDescriptor",
  5. "ClassData": {
  6. "Name": "MainPipeline",
  7. "MainViewTag": "MainCamera",
  8. "RootPassTemplate": "MainPipeline",
  9. "MaterialPipelineTag": "MainPipeline",
  10. "AllowModification": true,
  11. "RenderSettings": {
  12. "MultisampleState": {
  13. "samples": 2,
  14. "customPositionsCount": 16,
  15. "customPositions": [
  16. // First sample is dead center of the pixel for accurate resolve -> non-MSAA depth
  17. // When we resolve MSAA depth to non-MSAA depth, we just pick this first sample
  18. // Being at the center of the pixel makes SSAO and world space reprojection more accurate
  19. { "x": 8, "y": 8 },
  20. // Second sample is top-left corner so that samples from neighboring pixels can be used for
  21. // Quincux anti-aliasing techniques
  22. { "x": 0, "y": 0 },
  23. { "x": 7, "y": 15 },
  24. { "x": 15, "y": 7 },
  25. { "x": 8, "y": 0 },
  26. { "x": 0, "y": 8 },
  27. { "x": 4, "y": 11 },
  28. { "x": 11, "y": 4 },
  29. { "x": 0, "y": 15 },
  30. { "x": 15, "y": 0 },
  31. { "x": 15, "y": 15 },
  32. { "x": 3, "y": 3 },
  33. { "x": 4, "y": 7 },
  34. { "x": 7, "y": 4 },
  35. { "x": 10, "y": 13 },
  36. { "x": 13, "y": 10 }
  37. ]
  38. }
  39. }
  40. }
  41. }