Swirly Bokeh!

Hi All,

Miserable New York weather outside can mean only one thing, getting nerdy with some coding!

Been meaning to make something like this for a while, it’s a plugin that emulates that rotation bokeh that you see in vintage lenses such as the Petzval, as seen on movies like The Batman, Dune and Poor Things.

Enjoy!!

J.

Original Image:

Blur Amount 10:

Blur Amount 20:

Blur Amount 40:

30 Likes

That’s awesome thanks dude!

I posted and created a thread a while ago as I was trying to achieve this very similar effect. This is super handy. Looking forward to testing this out! Thanks so much for the contribution!

1 Like

Shader update v1.1 now added a “cat’s eye” look to the bokeh.

Blur Amount = 40, Cat’s Eye = 0

Blur Amount = 40, Cat’s Eye = 0.8

4 Likes

some more updates. Now added lens breathing (independent X and Y) and a more pronounced catseye effect with kernal edge flattening option.

cats_eye = 0.8
edge_flatten = 0

cats_eye = 0.8
edge_flatten = 1

cats_eye = 0
edge_flatten = 0

cats_eye = 0
edge_flatten = 1

9 Likes

Man, that looks so nice. Thank you.

1 Like