Skip to content

Commit

Permalink
deploy: 6d2a107
Browse files Browse the repository at this point in the history
  • Loading branch information
Wasp3r committed Mar 7, 2024
1 parent e72848d commit 45ce0da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions articles/runtime-bake.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ <h2 id="setup">Setup</h2>
<li>Assign the PrecomputedData to the correct PrecomputedArea.
See the DemoRuntimeBakeController for an example of how to use the runtime bake system.</li>
</ol>
<p><strong>Note:</strong> If you have a lot of objects to be considered during the bake, you can use <code>Tools &gt; PrecomputedCulling &gt; Setup meshes</code> to automatically add and setup PrecomputedCullingRendererId to all renderers in the scene.</p>
<h2 id="how-it-works">How it Works</h2>
<p>Culling data generated during the bake is saved to a zip file located at StreamingAssets/PrecomputedData/PrecomputedData.zip. This file contains all the baked data separated into files for each bake. Data is serialized by a custom serializer called SimpleTextSerializer. Then, while loading, the data is unpacked and deserialized. The culling process works exactly the same as in the case of the pre-baked data.</p>
<h2 id="customization">Customization</h2>
Expand Down

0 comments on commit 45ce0da

Please sign in to comment.