Bokeh!

I setup a camera system where you can define the f-stops in world-units, and tried to get a nice shallow depth-of-field similar to my meatspace 50mm/1.4f lens. Turns out, it’s as difficult to get a good shot in-game as in real life!

Starting with unrealistic naive boxy bokeh:

ScreenShot5379 - boxy bokeh

Transforming into a more hexagonal-like bokeh. Looks more natural.

ScreenShot5388 - shapely bokeh

The shape was created by rendering 3 different types of bokeh (3 rhombi) and combining them. You can clearly see the 3 rhombi in the unblurred version:

ScreenShot5383 - parts

 

Final (though not perfect):

Hexagonal Bokeh

References:
* Hexagonal Blurspages (p15-26)

Leave a Reply

Your email address will not be published. Required fields are marked *