Differential D15680 Diff 54643 source/blender/draw/engines/eevee/shaders/effect_dof_resolve_frag.glsl
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee/shaders/effect_dof_resolve_frag.glsl
| Context not available. | |||||
| dof_gather_accumulate_resolve(total_sample_count, bg_accum, bg_col, bg_weight, unused_occlusion); | dof_gather_accumulate_resolve(total_sample_count, bg_accum, bg_col, bg_weight, unused_occlusion); | ||||
| dof_gather_accumulate_resolve(total_sample_count, fg_accum, fg_col, fg_weight, unused_occlusion); | dof_gather_accumulate_resolve(total_sample_count, fg_accum, fg_col, fg_weight, unused_occlusion); | ||||
| /* Fix weighting issues on perfectly focus > slight focus transitionning areas. */ | /* Fix weighting issues on perfectly focus > slight focus transitioning areas. */ | ||||
| if (abs(center_data.coc) < 0.5) { | if (abs(center_data.coc) < 0.5) { | ||||
| bg_col = center_data.color; | bg_col = center_data.color; | ||||
| bg_weight = 1.0; | bg_weight = 1.0; | ||||
| Context not available. | |||||