2
0

MainRenderPipeline.azasset 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. // Todo: re-enable custom sample points and fix DX12/Vulkan validation errors
  15. // "customPositionsCount": 16,
  16. // "customPositions": [
  17. // // First sample is dead center of the pixel for accurate resolve -> non-MSAA depth
  18. // // When we resolve MSAA depth to non-MSAA depth, we just pick this first sample
  19. // // Being at the center of the pixel makes SSAO and world space reprojection more accurate
  20. // { "x": 8, "y": 8 },
  21. //
  22. // // Second sample is top-left corner so that samples from neighboring pixels can be used for
  23. // // Quincux anti-aliasing techniques
  24. // { "x": 0, "y": 0 },
  25. //
  26. // { "x": 7, "y": 15 },
  27. // { "x": 15, "y": 7 },
  28. //
  29. // { "x": 8, "y": 0 },
  30. // { "x": 0, "y": 8 },
  31. // { "x": 4, "y": 11 },
  32. // { "x": 11, "y": 4 },
  33. //
  34. // { "x": 0, "y": 15 },
  35. // { "x": 15, "y": 0 },
  36. // { "x": 15, "y": 15 },
  37. // { "x": 3, "y": 3 },
  38. // { "x": 4, "y": 7 },
  39. // { "x": 7, "y": 4 },
  40. // { "x": 10, "y": 13 },
  41. // { "x": 13, "y": 10 }
  42. // ]
  43. }
  44. }
  45. }
  46. }