🎮 Game

Flatpack gives players a distance based LOD system that swaps detailed models for baked impostor cards. The FlatpackImpostor resource stores the baked atlas and material, FlatpackCard builds the quad mesh, FlatpackMath maps view directions to atlas frames, and FlatpackRenderer and FlatpackSystem handle distance checks and crossfades.

🔧 Editor

Flatpack is an editor tool that bakes models into impostor atlases and flatcard LODs. It renders view grids, writes albedo, normal, depth and roughness/AO textures plus a generated .vmat, then creates or updates the .fpack resource. The UI covers baking from the asset browser, scene view and a scene optimizer, with a quality check that climbs presets until the bake holds up.

🧪 Unit Test

Unit test project for Flatpack's math library. FlatpackMathTests checks the geometric calculations that lay out impostor frames for hemisphere, sphere, and cylinder layouts, and UnitTest.cs starts and shuts down a Sandbox.TestAppSystem around the test run.