Fix carpet sliding and brighten WMO interiors 10%

- Carpet slide fix: use raw model bounds (rawMax.z) instead of radius-
  inflated effectiveTop for the on-top-of-object check, so thin objects
  like rugs correctly skip lateral push
- Brighten WMO interior vertex lighting from 2.2/0.3 to 2.4/0.35
This commit is contained in:
Kelsi 2026-02-07 17:09:57 -08:00
parent 2d2b9cc1fc
commit 87aaa30eed
2 changed files with 2 additions and 2 deletions

View file

@ -137,7 +137,7 @@ bool WMORenderer::initialize(pipeline::AssetManager* assets) {
if (uIsInterior) {
// Interior: MOCV vertex colors are baked lighting.
// Use them directly as the light multiplier on the texture.
vec3 vertLight = VertexColor.rgb * 2.2 + 0.3;
vec3 vertLight = VertexColor.rgb * 2.4 + 0.35;
// Subtle directional fill so geometry reads
float diff = max(dot(normal, lightDir), 0.0);
vertLight += diff * 0.10;