Skip to content
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

Add a property to control the bounce indirect energy in LightmapGI #51705

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Aug 16, 2021

master version of #50827.

Higher values will make indirect lighting brighter. A value of 1.0 represents physically accurate behavior, but higher values can be used to make indirect lighting propagate more visibly when using a low number of bounces.

This can be used to speed up bake times by lowering the number of bounces then increasing the bounce indirect energy.

This closes #50938.

Testing project: test_lightmap_normalmap2.zip

TODO

  • Implement when the lights' bake mode is Dynamic. Right now, it only works when lights' bake mode is Static. I haven't figured out how to multiply only bounce lighting when only indirect lighting is baked.

Preview

Bounce Indirect Energy 1.0 (default)

2021-08-16_01 53 30

Bounce Indirect Energy 0.0

Only direct, environment and emissive lighting are baked.

2021-08-16_02 15 47

Bounce Indirect Energy 4.0

Can be used for artistic effects with less strong lights.

2021-08-16_02 16 04

Higher values will make indirect lighting brighter.
A value of 1.0 represents physically accurate behavior, but higher values
can be used to make indirect lighting propagate more visibly when using
a low number of bounces.

This can be used to speed up bake times by lowering the number of bounces
then increasing the bounce indirect energy.
@Calinou
Copy link
Member Author

Calinou commented Sep 21, 2023

@Calinou Calinou closed this Sep 21, 2023
@Calinou Calinou removed this from the 4.x milestone Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vulkan: LightmapGI Bounce Indirect Energy property not implemented (unlike BakedLightmap in 3.x)
3 participants