lightingdataasset
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lightingdataasset [2021/02/11 21:36] – 73.95.178.156 | lightingdataasset [2025/01/15 04:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
//aka '' | //aka '' | ||
- | This asset stores | + | This asset stores data related to a lightmapping bake. This includes: |
- | * [[lightmapsettings.lightprobes|Light Probes]] for all scenes | + | |
- | * Lightmap Scale and Trasnform | + | |
+ | * Lightmap Scale and Transform | ||
Just after a scene loads, Unity will read this data asset and apply the settings from it to restore the lightmapping. This happens in the player and at runtime. | Just after a scene loads, Unity will read this data asset and apply the settings from it to restore the lightmapping. This happens in the player and at runtime. | ||
Line 10: | Line 11: | ||
This data is also read while computing [[static batching]]. It bakes the scales and transforms of MeshRenderers set in this file into the '' | This data is also read while computing [[static batching]]. It bakes the scales and transforms of MeshRenderers set in this file into the '' | ||
+ | ===== Format ===== | ||
+ | This asset is a standard Unity object. The format and data layout can be found via reflection of serialized properties. | ||
+ | The community [[https:// | ||
lightingdataasset.1613079367.txt.gz · Last modified: 2025/01/15 04:35 (external edit)