redstrate.com/content/blog/graphics-dump-dof/index.md
2023-06-23 21:46:21 -04:00

421 B

title date draft series
Graphics Dump: Bokeh depth of field 2023-05-27 true
Graphics Dump

Today I implemented Bart Wronski's fantastic Bokeh depth of field effect.

Pitfalls

Here's some of the pitfalls I ran into while implementing this:

Make sure the bokeh image doesn't repeat, or else it will start bleeding on the edge of triangles.

Make sure your aperture texture has a black background.