-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Influence of Energy parameter from BakedLightmap on illumination of dynamic objects #1952
Comments
If you manage to do it, feel free to open a pull request for this 🙂 You'll have to open the pull request against the Also, you might want to check out the new CPU lightmapper which may be merged for 3.2.4. |
@Calinou If it works out, I'll definitely post it. |
I don't know, I've never worked on the lightmapper. @JFonS might be able to answer, but I'm not sure how much he's looked at the old lightmapper code. |
@JFonS I still can't find where the volumetric light data is stored. Can you tell me? |
@dedm0zaj It is stored as an octree in |
Decision godotengine/godot#44458 |
The proposal should be closed if/when the implementation is approved and merged. |
Fixed by godotengine/godot#44458. |
Describe the project you are working on
I'm making a game with baked light locations. The game has a change of day and night. Godot 3.2.3.
Describe the problem or limitation you are having in your project
To change the illumination of the baked location, I use the Energy parameter from the BakedLightmap. But this parameter does not affect the baked volumetric light (light mass) and does not affect the illumination of dynamic objects.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
I suggest adding the effect of the Energy parameter to the volumetric light.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Add influence to the volumetric light here (baked_lightmap.cpp):
P.S. In fact, I did not fully understand the code and did not understand in which variable the volumetric light is stored. If you can tell me where the volumetric light is stored in the code, I'll do it myself. I found the "Vector bake_cells" variable (voxel_light_baker.h), but I don't understand how it works. And is it the correct variable.
If this enhancement will not be used often, can it be worked around with a few lines of script?
No. These suggestions cannot be circumvented with a few lines of script.
Is there a reason why this should be core and not an add-on in the asset library?
This proposal should be included in the core as it is part of the rendering.
The text was updated successfully, but these errors were encountered: