← All ideas
  • Published 6 Feb 2021

Customisable Bokeh

I think blender should be able to have customisable bokeh like fringing, cutoff and the ability to use an image texture for bokeh. I think this would be a big step up for blender considering every other renderer has this feature

bokeh vs blender.png

98.2%

Development Status: Open

Upvote 54 Downvote 1
william3
6 Feb 2021

15 Comments

chafouin

Bokeh texture was actually done for Cycles but never reached master: developer.blender.org/D1691 The other effect you are asking for is Optical Vignetting.

I know this is not the ultimate solution and I would like to see it done better in Cycles, but in the meantime, I've added it in the Photographer 4 add-on. Disclaimer: I'm the creator of the add-on.

1
william3 Author

* @chafouin * That's awesome, could you send a link to that addon?

chafouin

* @william3 * gumroad.com/l/HPrCY I apologize if this is considered advertising, and I'll remove it if someone complains.

william3 Author

* @chafouin * So i just bought the add-on but i cant seem to check the install button

william3 Author

* @william3 * Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\ addon_utils.py ", line 351, in enable mod = import (module_name) File "C:\Users\willi\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\ photographer__init__.py ", line 15, in <module> register = bpy.utils.register_class(prefs.AddonPreferences) ValueError: register_class(...): already registered as a subclass 'AddonPreferences'

william3 Author

* @william3 * Nvm, i fixed it

william3 Author

* @chafouin * Dude! It's so good!!! thanks for recommending it

2
jackrocky2213

˙ ͜ʟ˙

1
GeeNakai

This thread has been here for almost a year now and we have a faster Cycles X, while there's a new Blender Animation project coming that will focus on realism render, I wonder why devs are kinda ignoring this feature for Cycles, it seems to be looking at developer.blender.org/D1691 there seems to be no one is working at it right now... Shouldn't this need to be update and implement in the Cycles default already for the new animation showcase?... What happened?

isakovicadrien

Absolutely, it would be awesome to have this feature in blender, or at least a part of what William said.

Vyach

It will be nice for compositor, but for render it can be done same way as with camera: different shapes in front of camera.

william3 Author

* @ Vyacheslav * Yeah but it takes a lot of rendertime to actually see those changes. By having it built in to blender It will be faster

Vyach

* @william3 * I am not sure, that true effect is possible without render. And new composite node is desirable ofc

vangel

* @ Vyacheslav * This is a typical Blender answer. It's like who needs a GUI you only need to change a few parameters in 3 config files to get it. Noob. For more advanced effects you can't even use geometry in front of the cam, geo don't model lens imperfection, dust or water droplets on the lens only the outer diaphragm shape. Other renderers like Vray can use shapes and custom textures for realistic and equaly fast Bokeh.

1
Vyach

* @vangel * okay, thanks, now I see the point.