diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-08-05 14:51:29 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-08-05 15:45:39 +0300 |
commit | 2a4cc0c81c1748d2a18c49ce2f13e49428a55d62 (patch) | |
tree | e04672b6c45311a77102cfb0f45f69477a6f3c47 /release | |
parent | 3690dad40a8e2a8850c0f8f2f5a789c4ebc7a75b (diff) |
EEVEE-Next: Depth Of Field: Use random sampling in slight focus gather
This replace the previous square rings approach by sampling a disk the
footprint of the search area. This avoids sampling in areas in corners
where there isn't any weight.
This results in much less samples needed to acheive a good enough result.
The max number of samples for an area of 11x11 px is hard coded to 16 and
still gives good results with the final clamp.
The number of samples is adaptative and is scaled by the search area (max
CoC).
The High Quality Slight Defocus is not required anymore. If there is a
quality parameter to add, it would be sample count option. But I consider
the temporal stability enough for viewport work and render can still
render many full scene samples. So I don't see a need for that yet.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 57b861b1167..dafe32c5e5d 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -267,7 +267,6 @@ class RENDER_PT_eevee_next_depth_of_field(RenderButtonsPanel, Panel): col.prop(props, "bokeh_max_size") col.prop(props, "bokeh_threshold") col.prop(props, "bokeh_neighbor_max") - col.prop(props, "use_bokeh_high_quality_slight_defocus") col.prop(props, "use_bokeh_jittered") col = layout.column() |