mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
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. |
||
|---|---|---|
| .. | ||
| camera.hpp | ||
| camera_controller.hpp | ||
| celestial.hpp | ||
| character_preview.hpp | ||
| character_renderer.hpp | ||
| charge_effect.hpp | ||
| clouds.hpp | ||
| frustum.hpp | ||
| lens_flare.hpp | ||
| levelup_effect.hpp | ||
| lighting_manager.hpp | ||
| lightning.hpp | ||
| loading_screen.hpp | ||
| m2_renderer.hpp | ||
| material.hpp | ||
| mesh.hpp | ||
| minimap.hpp | ||
| mount_dust.hpp | ||
| performance_hud.hpp | ||
| quest_marker_renderer.hpp | ||
| renderer.hpp | ||
| scene.hpp | ||
| shader.hpp | ||
| sky_system.hpp | ||
| skybox.hpp | ||
| starfield.hpp | ||
| swim_effects.hpp | ||
| terrain_manager.hpp | ||
| terrain_renderer.hpp | ||
| texture.hpp | ||
| video_player.hpp | ||
| water_renderer.hpp | ||
| weather.hpp | ||
| wmo_renderer.hpp | ||
| world_map.hpp | ||