virtualx-engine/scene
JFonS 112b416056 Implement new CPU lightmapper
Completely re-write the lightmap generation code:
- Follow the general lightmapper code structure from 4.0.
- Use proper path tracing to compute the global illumination.
- Use atlassing to merge all lightmaps into a single texture (done by @RandomShaper)
- Use OpenImageDenoiser to improve the generated lightmaps.
- Take into account alpha transparency in material textures.
- Allow baking environment lighting.
- Add bicubic lightmap filtering.

There is some minor compatibility breakage in some properties and methods
in BakedLightmap, but lightmaps generated in previous engine versions
should work fine out of the box.

The scene importer has been changed to generate `.unwrap_cache` files
next to the imported scene files. These files *SHOULD* be added to any
version control system as they guarantee there won't be differences when
re-importing the scene from other OSes or engine versions.

This work started as a Google Summer of Code project; Was later funded by IMVU for a good amount of progress;
Was then finished and polished by me on my free time.

Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2021-01-14 18:05:56 +01:00
..
2d Merge pull request #45163 from akien-mga/3.2-cherrypicks 2021-01-13 17:38:05 +01:00
3d Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
animation Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
debugger Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gui doc: Sync classref with current source 2021-01-13 16:55:27 +01:00
main Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resources Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
register_scene_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00