gscept/nebula

Implement using a focal point in the depth buffer for DoF

Opened this issue · 0 comments

We currently provide a depth range to perform DoF, which is fine, but we are lacking a way to have a focal point in the screen around which focus should be used. This would allow for having nice cinematics where the focus point can be read from the scene (perhaps using downscaled depth) and adjust dynamically with the scene.

Related to: #94