Physically Based Auto Depth of Field
Share
Explore
Presets

icon picker
Tuning Your Preset

When it comes to tuning your preset you’ll be mostly working with:
@Max Distance
@Focal Length
@Base Aperture
@Extended Aperture
Start with the
@Max Distance
from 0 and bring something in the foreground into focus
image.jpeg
Next set your
@Base Aperture
to the overall level of depth you want for your scene
image.jpeg
Set your
@Extended Aperture
until most of the core foreground of your scene turns blue.

Check out this video for specific tuning

🧭See ahead:
Setting your
@Focal Length
( or test your ingame ones if you have multiple)
~17.13 is the common 70 FOV in many standard games like FPS based on a full frame sensor size
Set your
@Base Aperture
to a value you want to use when moving around the scene
For an example if we take 5.6 base and 32 extended we could have a nice natural depth you might be more accustomed to and would be useful when exploring areas where you want a little bit of depth, like an open vista.
Common Apertures
0
F.stop
Notes
1
2.4
roughly the aperture of an eye in terms of DoF
2
2.8
a lot of shallow depth of field good for object close ups
3
5.6
a common average many lenses and shooting conditions
4
8
a very natural lens setting, gives you a nice balance between slight depth and a sharper scene
5
11
From here an above, a great setting for the extended aperture to be set to for open scenes
There are no rows in this table
is now complete
You should see your scene switch between BLUE on your focus points and RED on things that will be out of focus in debug view.
! Before exiting playmode be sure to

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.