diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-06-27 16:56:22 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-09-16 16:27:00 +0200 |
commit | 7dee32ad143257058519c213257058bcb34bed54 (patch) | |
tree | a043944cbf20eae724ba287528a1f3b3e55c8e4c /scene/gui/text_edit.h | |
parent | 99e06740cf123a1e9b91be61864f8764729d5264 (diff) |
Tweak LightmapGI defaults to be closer to the CPU lightmapper
- Use 3 bounces by default.
- Enable environment lighting from the scene by default.
- This is not done in `3.x` for compatibility with existing projects,
but it makes sense to do this by default since pretty much all
outdoor scenes benefit from this.
- Set the custom environment color to white (like ReflectionProbe).
- Its default energy is still 0, so it's invisible by default.
- Enable the generation of dynamic object probes by default.
- Tweak the `max_texture_size` property hint for better usability.
- Improve error messages when passing invalid sizes to
`LightmapGI.set_max_texture_size()`.
Diffstat (limited to 'scene/gui/text_edit.h')
0 files changed, 0 insertions, 0 deletions