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

Remove position buffer #44

Open
4 tasks
numpad opened this issue Jan 12, 2021 · 0 comments
Open
4 tasks

Remove position buffer #44

numpad opened this issue Jan 12, 2021 · 0 comments
Labels
rework need to rework an existing feature

Comments

@numpad
Copy link
Owner

numpad commented Jan 12, 2021

The G-buffer currently contains world space position (rgb16f) data. This is redundand as the data can be reconstructed form the depth buffer.

  • Store depth in the required format in the depth buffer
  • Calculate world space position based on these values
  • Remove position buffer completely

Additionally, by storing the world space position we will run into precision problems at some point.

  • Figure out possible problems and turn them into a separate ticket.
@numpad numpad added the rework need to rework an existing feature label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rework need to rework an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant