September 2022
Posted 2 years ago
We're all suckas for a nice bokeh

Since we're revamping the post processing pipeline, I had a nice opportunity to recode how Depth of Field works, the new API makes it a love to work on it.
The code itself is much simpler and the quality of the blur is much much nicer, you can get big bokeh circles without much impact to perfomance, it filters through antialiased edges like hair.

Camera focus is physically accurate now, the closer the focused subject is, the bigger will be the circle.

You can play around with it using the devcam command and pressing tab.