Attention | Topic was automatically imported from the old Question2Answer platform. | |
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.
Note that OP has opened a proposal about this: Influence of Energy parameter from BakedLightmap on illumination of dynamic objects · Issue #1952 · godotengine/godot-proposals · GitHub
Calinou | 2020-12-09 13:17