virtualx-engine/drivers/gles2
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
..
shaders Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
rasterizer_canvas_base_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_base_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_scene_gles2.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
rasterizer_scene_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_storage_gles2.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
rasterizer_storage_gles2.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_compiler_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader_compiler_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00