Kelsidavis-WoWee/include/rendering
Kelsi d47ae2a110 Fix city stuttering with incremental tile finalization and GPU optimizations
Replace monolithic finalizeTile() with a phased state machine that spreads
GPU upload work across multiple frames (TERRAIN→M2→WMO→WATER→AMBIENT→DONE).
Each advanceFinalization() call does one bounded unit of work within the
per-frame time budget, eliminating 50-300ms frame hitches when entering cities.

Additional performance improvements:
- Pre-allocate bone SSBOs at M2 instance creation instead of lazily during
  first render frame, preventing hitches when many skinned characters appear
- Enable WMO distance culling (800 units) with active-group exemption so
  the player's current floor/neighbors are never culled
- Add 4-tier adaptive M2 render distance (250/400/600/1000 based on count)
- Remove dead PendingM2Upload queue code superseded by incremental system

Fix tile re-enqueueing bug: keep tiles in pendingTiles until committed to
loadedTiles (not when moved to finalizingTiles_) so streamTiles() doesn't
re-enqueue tiles mid-finalization. Also handle unloadTile() for tiles in
the finalizingTiles_ deque to prevent orphaned water/M2/WMO resources.
2026-02-25 02:36:23 -08:00
..
camera.hpp Fix camera occlusion and stabilize WMO/M2 collision behavior 2026-02-03 16:04:21 -08:00
camera_controller.hpp Reduce default max zoom out from 33 to 22 units 2026-02-23 08:11:49 -08:00
celestial.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
character_preview.hpp Fix character preview facing and add 4x MSAA to preview render target 2026-02-23 10:48:26 -08:00
character_renderer.hpp Fix character preview facing and add 4x MSAA to preview render target 2026-02-23 10:48:26 -08:00
charge_effect.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
clouds.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
frustum.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lens_flare.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
levelup_effect.hpp Add 3D level-up effect using LevelUp.m2 spell model 2026-02-19 20:36:25 -08:00
lighting_manager.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
lightning.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
loading_screen.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
m2_renderer.hpp Fix city stuttering with incremental tile finalization and GPU optimizations 2026-02-25 02:36:23 -08:00
material.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
mesh.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
minimap.hpp Fix sun quad visibility, minimap opacity, audio scaling, and rename music toggle 2026-02-23 08:01:20 -08:00
mount_dust.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
performance_hud.hpp Add gameplay systems: combat, spells, groups, loot, vendors, and UI 2026-02-04 10:31:03 -08:00
quest_marker_renderer.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
renderer.hpp Make shadows follow player movement continuously 2026-02-23 08:47:38 -08:00
scene.hpp Optimize release builds: LTO, -O3, visibility, micro-perf fixes 2026-02-18 20:10:47 -08:00
shader.hpp Implement shadow mapping pipeline for terrain and models 2026-02-04 16:08:35 -08:00
sky_system.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
skybox.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
starfield.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
swim_effects.hpp Add ambient insect particles near water vegetation, fix firefly particles, and improve water foam 2026-02-23 07:18:44 -08:00
terrain_manager.hpp Fix city stuttering with incremental tile finalization and GPU optimizations 2026-02-25 02:36:23 -08:00
terrain_renderer.hpp Stabilize streaming memory and parser handling; revert socket recv optimizations 2026-02-22 07:26:54 -08:00
texture.hpp Add centralized anisotropic filtering, fog, and Blinn-Phong specular to all renderers 2026-02-04 15:05:46 -08:00
video_player.hpp Play looping MP4 behind auth screen 2026-02-05 15:34:29 -08:00
vk_buffer.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_context.hpp Add player water ripples and separate 1x water pass for MSAA compatibility 2026-02-22 22:34:48 -08:00
vk_frame_data.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_pipeline.hpp Fix specular direction by correcting front face winding for Vulkan Y-flip 2026-02-23 04:02:21 -08:00
vk_render_target.hpp Fix character preview facing and add 4x MSAA to preview render target 2026-02-23 10:48:26 -08:00
vk_shader.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_texture.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_utils.hpp Fix all build warnings 2026-02-23 19:16:47 -08:00
water_renderer.hpp Fix WMO water rendering: correct MLIQ parsing, tile masking, and depth effects 2026-02-23 00:18:32 -08:00
weather.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
wmo_renderer.hpp Fix city stuttering with incremental tile finalization and GPU optimizations 2026-02-25 02:36:23 -08:00
world_map.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00