summaryrefslogtreecommitdiff
path: root/core/object/object.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-27 16:56:22 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-09-16 16:27:00 +0200
commit7dee32ad143257058519c213257058bcb34bed54 (patch)
treea043944cbf20eae724ba287528a1f3b3e55c8e4c /core/object/object.h
parent99e06740cf123a1e9b91be61864f8764729d5264 (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 'core/object/object.h')
0 files changed, 0 insertions, 0 deletions