diff options
author | JFonS <joan.fonssanchez@gmail.com> | 2020-04-22 15:34:00 +0200 |
---|---|---|
committer | JFonS <joan.fonssanchez@gmail.com> | 2020-04-22 15:34:00 +0200 |
commit | f7dadc47969740cb4d48379146962d94325424b7 (patch) | |
tree | 2ac99d4962c383b1d1977b2f948c2c44ff436b78 /servers/navigation_server_2d.cpp | |
parent | f989a43135ce42a43c35193b8eecefb055aec84c (diff) |
Add caching the lightmap unwrapping on import
This commit adds caching to the lightmap mesh unwraps generated on
import. This speeds up re-imports of meshes that haven't changed and
also makes sure that the unwraps are consistent across imports.
The unwrapping process is not deterministic, so one could end up with
a different mapping every time the scene was imported, breaking any
previously baked lightmaps. The changes in this commit prevent that
from happening.
Diffstat (limited to 'servers/navigation_server_2d.cpp')
0 files changed, 0 insertions, 0 deletions