Differential D15680 Diff 54643 source/blender/draw/engines/eevee_next/shaders/eevee_depth_of_field_accumulator_lib.glsl
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee_next/shaders/eevee_depth_of_field_accumulator_lib.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 to slight focus transitionning areas. */ | /* Fix weighting issues on perfectly focus to 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. | |||||