Kelsidavis-WoWee/include/rendering
Kelsi f7372a282d Improve selected-NPC ring visuals, anchoring, and occlusion behavior
Selection ring rendering has been upgraded to better match WoW-like target feedback and remain readable across complex geometry.

Visual updates:
- Reworked ring mesh/shader from a simple two-band strip to a unit-disc + radial fragment shaping.
- Implemented a thinner outer ring profile.
- Added an inward color/alpha gradient that fades from the ring toward the center.

Placement/anchoring updates:
- Added CharacterRenderer::getInstanceFootZ() to query model foot plane from instance bounds.
- Added Application::getRenderFootZForGuid() to resolve per-GUID foot height via live instance mapping.
- Updated GameScreen target selection placement to anchor the effect at target foot Z.

Ground/surface stability:
- In renderSelectionCircle(), added floor clamping against terrain, WMO, and M2 floor probes at target XY.
- Raised final placement offset to reduce residual clipping on uneven surfaces.

Depth/visibility behavior:
- Added polygon offset during ring draw to reduce z-fighting.
- Disabled depth testing for the selection effect draw pass (with state restore) so the ring remains visible through terrain/WMO occluders, per requested behavior.

State safety:
- Restored modified GL state after selection pass (depth test / polygon offset / depth mask / cull).

Build validation:
- Verified with cmake build target "wowee" after each stage; final build succeeds.
2026-02-20 16:02:34 -08:00
..
camera.hpp Fix camera occlusion and stabilize WMO/M2 collision behavior 2026-02-03 16:04:21 -08:00
camera_controller.hpp Fix movement desync: strafe animation and missing SET_FACING 2026-02-19 16:40:17 -08:00
celestial.hpp Implement WoW-accurate DBC-driven sky system with lore-faithful celestial bodies 2026-02-10 14:36:17 -08:00
character_preview.hpp Fix character appearance, previews, mount seat, and online unequip 2026-02-12 14:55:27 -08:00
character_renderer.hpp Improve selected-NPC ring visuals, anchoring, and occlusion behavior 2026-02-20 16:02:34 -08:00
charge_effect.hpp Add Warrior Charge ability with ribbon trail visual effect 2026-02-19 21:13:13 -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
levelup_effect.hpp Add 3D level-up effect using LevelUp.m2 spell model 2026-02-19 20:36:25 -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 Add 3D level-up effect using LevelUp.m2 spell model 2026-02-19 20:36:25 -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 Fix combat vocalizations with correct MPQ paths, add combat idle stance 2026-02-19 21:50:32 -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 Implement WoW-accurate DBC-driven sky system with lore-faithful celestial bodies 2026-02-10 14:36:17 -08:00
skybox.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
starfield.hpp Implement WoW-accurate DBC-driven sky system with lore-faithful celestial bodies 2026-02-10 14:36:17 -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 transport/WMO diagnostics and terrain WMO dedup lifecycle 2026-02-18 22:36:34 -08:00
terrain_renderer.hpp Add shadow frustum culling to terrain and M2 depth passes 2026-02-18 21:15:24 -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 WMO visibility culling and renderer initialization guards 2026-02-18 22:41:05 -08:00
world_map.hpp Fix NPC visibility and stabilize world transport/taxi updates 2026-02-11 18:25:04 -08:00