MainRenderPipeline.azasset 1.7 KB

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