Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve render-pass based SSAO #6658

Open
mvaligursky opened this issue Jun 4, 2024 · 0 comments
Open

Improve render-pass based SSAO #6658

mvaligursky opened this issue Jun 4, 2024 · 0 comments
Assignees
Labels
area: graphics Graphics related issue enhancement

Comments

@mvaligursky
Copy link
Contributor

initial implementation: #6657

possible improvements:

  • currently the SSAO depends on the depth-prepass. This could be optional and depth-drab pass can be used instead to obtain the depth.
  • when the SSAO uses the depth-pass, it runs before the main forward passes of the scene. This allows us to implement Screen space ambient occlusion should only affect indirect light #4844 properly.
  • when SSAO is used together with TAA, randomize sampling using TAA's random values, to allow smaller number of SSAO samples to be used, and depending on TAA instaed of resolve them over few frames
  • improve the shaders to use half precision to gain some performance.
  • consider downscaling the depth buffer before the SSAO runs, or at least generate mipmaps from it. The SSAO shader we use allows sampling using mipmaps, to allow better quality larger size filter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue enhancement
Projects
None yet
Development

No branches or pull requests

1 participant