Kelsidavis-WoWee/include/rendering
Kelsi 69fa4c6e03 Implement WoW 3.3.5a DBC-driven lighting system
Add complete Blizzard-style time-of-day lighting pipeline:

Spatial Volume System (Light.dbc):
- Light volumes with position + inner/outer radius
- Distance-based weighting with smoothstep falloff
- Multi-volume blending (top 2 with normalized weights)
- X,Z,Y coordinate handling + LIGHT_COORD_SCALE for ×36 quirk
- Smooth zone transitions without popping

Profile Selection (LightParams.dbc):
- Weather variants: clear/rain/underwater
- Links to 18 color + 6 float band curves per profile
- Block indexing: LightParamsID × 18/6 + channel

Time-of-Day Band Sampling (LightIntBand/LightFloatBand):
- Half-minutes format (0-2879) with time clamping
- Keyframe interpolation with midnight wrap
- Wrap-safe initialization for edge cases
- BGR color unpacking

Multi-Volume Blending:
- Weighted sum of all lighting params
- Proper direction blending: normalize(sum(dir × weight))
- Blends ambient, diffuse, fog, sky, cloud density

Temporal Smoothing:
- Exponential blend to prevent frame snapping
- Smooths ALL parameters (colors, fog, direction, sky)

Game Time Support:
- Accepts server-sent game time (WoW standard)
- Falls back to local time if not provided
- Manual override for testing

Debug Features:
- Volume distance/weight logging
- Fog params logging
- Coordinate scale verification

Also: Move buff bar to top-left under player frame
2026-02-10 13:44:22 -08:00
..
camera.hpp Fix camera occlusion and stabilize WMO/M2 collision behavior 2026-02-03 16:04:21 -08:00
camera_controller.hpp Add collision query caching to reduce map traversal overhead 2026-02-08 22:30:37 -08:00
celestial.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
character_preview.hpp Add body type selection for nonbinary characters and reduce preview rotation sensitivity 2026-02-09 17:56:04 -08:00
character_renderer.hpp Fix online interactions, UI, and inventory sync 2026-02-06 18:34:45 -08:00
clouds.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
frustum.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lens_flare.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lighting_manager.hpp Implement WoW 3.3.5a DBC-driven lighting system 2026-02-10 13:44:22 -08:00
lightning.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
loading_screen.hpp Add progress bar to loading screen and handle resize during loading 2026-02-06 14:43:18 -08:00
m2_renderer.hpp Make InvisibleTrap objects invisible and non-collidable 2026-02-09 22:31:36 -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 Add nonbinary gender support with pronoun system and server compatibility 2026-02-09 17:39:21 -08:00
mount_dust.hpp Add mount dust particle effects 2026-02-09 01:24:17 -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 Implement WoW-style 3D billboard quest markers 2026-02-09 23:41:38 -08:00
renderer.hpp Implement WoW-style 3D billboard quest markers 2026-02-09 23:41:38 -08:00
scene.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
shader.hpp Implement shadow mapping pipeline for terrain and models 2026-02-04 16:08:35 -08:00
skybox.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
starfield.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
swim_effects.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
terrain_manager.hpp Fix WMO instance duplication causing 16x Stormwind rendering 2026-02-09 18:38:45 -08:00
terrain_renderer.hpp Preload terrain textures on background thread and fix ramp Z-snapping 2026-02-08 01:16:23 -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
water_renderer.hpp Fix Stormwind cathedral LOD shell and extend view distance 2026-02-09 19:57:22 -08:00
weather.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
wmo_renderer.hpp Fix Stormwind cathedral LOD shell and extend view distance 2026-02-09 19:57:22 -08:00
world_map.hpp Add mount rider bob and hoofbeat sounds, improve world map 2026-02-07 18:38:36 -08:00