Skip to main content

GPU_MAX_MIPS

Constant GPU_MAX_MIPS 

Source
pub const GPU_MAX_MIPS: u32 = 6;
Expand description

GPU.11 — number of mip levels decompress_chunk builds per chunk (capped by the chunk’s own vsid / CHUNK_Z halving). Matches the CPU demo’s OpticastSettings::mip_levels = 6, so the GPU mip ladder reaches the same ray-depth as the CPU path (mip_scan_dist · 2⁵). The per-mip relative-offset tables in crate::scene::GridStaticMeta are sized to this.