Kelsidavis-WoWee/include
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
..
audio Add combat sounds, melee ability animations, and player vocalizations 2026-02-19 21:31:37 -08:00
auth Vanilla/Turtle WoW support: M2 loading, bone parsing, textures, auth 2026-02-13 16:53:28 -08:00
core Improve selected-NPC ring visuals, anchoring, and occlusion behavior 2026-02-20 16:02:34 -08:00
game Fix classic combat desync and separate attack intent from confirmed combat 2026-02-20 03:38:12 -08:00
network Fix two more Windows/MinGW compile errors 2026-02-18 17:59:11 -08:00
pipeline Prefer canonical case-resolved files for Warden MPQ hash checks 2026-02-20 01:49:43 -08:00
platform Fix three Windows-specific compile errors 2026-02-18 17:52:28 -08:00
rendering Improve selected-NPC ring visuals, anchoring, and occlusion behavior 2026-02-20 16:02:34 -08:00
ui Add bag bar drag-to-reorder, fix three wrong WotLK opcodes 2026-02-19 22:34:22 -08:00