0 votes

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.
enter image description here
enter image description here

in Engine by (12 points)

Note that OP has opened a proposal about this: https://github.com/godotengine/godot-proposals/issues/1952

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.