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

Overdraw Calculation #10

Open
proof88 opened this issue Jan 10, 2022 · 0 comments
Open

Overdraw Calculation #10

proof88 opened this issue Jan 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@proof88
Copy link
Owner

proof88 commented Jan 10, 2022

FTR: User Value: 0; Dev Value: high
In this video Brian mentioned at around 1:18:00 that stencil buffer can be used after rendering a frame and reading the stencil buffer back, to find out how many times a pixel was overdrawn, so the depth complexity/overdraw can be measured with this technique well: https://www.youtube.com/watch?v=TFfkX_ahl94

https://excamera.com/articles/2/index.html
https://russellday.wordpress.com/2012/01/26/calculating-overdraw-with-the-stencil-buffer-in-opengl/

@proof88 proof88 added the enhancement New feature or request label Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant