Energy parameter BakedLightmapData does not affect dynamic objects

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By dedm0zaj

Hello.
Tell me, under which variable is the light grid (volumetric light) stored? I looked at the code but could not figure it out.
I want to add the effect of changing the Energy parameter from BakedLightmapData to the light grid.
That is, add here (baked_lightmap.cpp):

void BakedLightmapData::set_energy(float p_energy) {
    energy = p_energy;
    VS::get_singleton()->lightmap_capture_set_energy(baked_light, energy);
}

The problem is that when the Energy parameter BakedLightmapData changes, only the baked texture changes, but there is no effect on dynamic objects.