Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/eevee/eevee_engine.c
| Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | while (loop_ct--) { | ||||
| if (DRW_state_is_image_render() || | if (DRW_state_is_image_render() || | ||||
| ((stl->effects->enabled_effects & EFFECT_TAA) != 0)) | ((stl->effects->enabled_effects & EFFECT_TAA) != 0)) | ||||
| { | { | ||||
| BLI_halton_3D(primes, offset, stl->effects->taa_current_sample, r); | BLI_halton_3D(primes, offset, stl->effects->taa_current_sample, r); | ||||
| EEVEE_update_noise(psl, fbl, r); | EEVEE_update_noise(psl, fbl, r); | ||||
| EEVEE_volumes_set_jitter(sldata, stl->effects->taa_current_sample - 1); | EEVEE_volumes_set_jitter(sldata, stl->effects->taa_current_sample - 1); | ||||
| EEVEE_materials_init(sldata, stl, fbl); | EEVEE_materials_init(sldata, stl, fbl); | ||||
| } | } | ||||
| /* Copy previous persmat to UBO data */ | |||||
| copy_m4_m4(sldata->common_data.prev_persmat, stl->effects->prev_persmat); | |||||
| /* Refresh Probes */ | /* Refresh Probes */ | ||||
| DRW_stats_group_start("Probes Refresh"); | DRW_stats_group_start("Probes Refresh"); | ||||
| EEVEE_lightprobes_refresh(sldata, vedata); | EEVEE_lightprobes_refresh(sldata, vedata); | ||||
| EEVEE_lightprobes_refresh_planar(sldata, vedata); | EEVEE_lightprobes_refresh_planar(sldata, vedata); | ||||
| DRW_stats_group_end(); | DRW_stats_group_end(); | ||||
| /* Update common buffer after probe rendering. */ | /* Update common buffer after probe rendering. */ | ||||
| ▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines | |||||