Kelsidavis-WoWee/src/rendering
Kelsi 3fcf961931 Fix completely black WMO areas caused by zero vertex colors
The issue was that vertex colors (MOCV) were being multiplied directly into
the texture color BEFORE lighting calculation. When MOCV data contained
black (0,0,0) values, this zeroed out the texture color, making all
subsequent lighting multiplication also zero, resulting in pitch black areas
regardless of ambient light settings.

Fixed by:
1. Removed premature vertex color multiplication from texture sampling
2. Applied vertex colors as ambient occlusion AFTER lighting calculation
3. Clamped vertex colors to minimum 0.5 to prevent complete blackout

Now even areas with black MOCV data will render at 50% brightness minimum,
while properly lit areas remain bright. This preserves the AO effect without
causing invisible geometry.
2026-02-09 18:13:05 -08:00
..
camera.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
camera_controller.cpp Fix jump collision with slope grace period 2026-02-09 01:01:25 -08:00
celestial.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
character_preview.cpp Add body type selection for nonbinary characters and reduce preview rotation sensitivity 2026-02-09 17:56:04 -08:00
character_renderer.cpp Add ambient sound system and eliminate log spam 2026-02-09 14:50:14 -08:00
clouds.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
frustum.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lens_flare.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lightning.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
loading_screen.cpp Add loading screen to online mode, fix ImGui frame conflict, truncate log on start 2026-02-06 14:49:53 -08:00
m2_renderer.cpp Eliminate per-frame allocations in M2 renderer to reduce CPU stutter 2026-02-09 00:41:07 -08:00
material.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
mesh.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
minimap.cpp Add nonbinary gender support with pronoun system and server compatibility 2026-02-09 17:39:21 -08:00
mount_dust.cpp Fix mount dust visibility: spawn above ground with stronger upward velocity 2026-02-09 01:32:40 -08:00
performance_hud.cpp Optimize WMO rendering and collision performance 2026-02-05 17:20:30 -08:00
renderer.cpp Implement comprehensive audio control panel with tabbed settings interface 2026-02-09 17:07:22 -08:00
scene.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
shader.cpp Performance optimizations and collision improvements 2026-02-02 23:03:45 -08:00
skybox.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
starfield.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
swim_effects.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
terrain_manager.cpp Add ambient sound system and eliminate log spam 2026-02-09 14:50:14 -08:00
terrain_renderer.cpp Preload terrain textures on background thread and fix ramp Z-snapping 2026-02-08 01:16:23 -08:00
texture.cpp Add centralized anisotropic filtering, fog, and Blinn-Phong specular to all renderers 2026-02-04 15:05:46 -08:00
video_player.cpp Play looping MP4 behind auth screen 2026-02-05 15:34:29 -08:00
water_renderer.cpp Reduce wave amplitude to fix tile boundary gaps 2026-02-08 22:35:11 -08:00
weather.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
wmo_renderer.cpp Fix completely black WMO areas caused by zero vertex colors 2026-02-09 18:13:05 -08:00
world_map.cpp Add mount rider bob and hoofbeat sounds, improve world map 2026-02-07 18:38:36 -08:00