Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

[feature] Use a GBuffer pass instead of rays for initial hits #6

Open
Derpius opened this issue Jul 4, 2021 · 1 comment
Open

[feature] Use a GBuffer pass instead of rays for initial hits #6

Derpius opened this issue Jul 4, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Derpius
Copy link
Owner

Derpius commented Jul 4, 2021

Describe the solution you'd like
Currently, for simplicity, initial hit positions from the camera are computed by tracing camera rays, this allows for more accurate thin lens depth of field, however doing DoF as a post processing step is far more efficient.
Given that not being able to simulate DoF directly is fine, the current method of tracing camera rays could be replaced with a far more efficient rasterised GBuffer pass, although just how much of a performance increase that would give is debateable given most of the performance hit comes from subsequent rays.

@Derpius Derpius added the enhancement New feature or request label Jul 4, 2021
@Derpius
Copy link
Owner Author

Derpius commented Jul 4, 2021

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant