From 710e151c06b07b51832bdf18bda62ab43002e910 Mon Sep 17 00:00:00 2001 From: RaveYard <29225776+MrRaveYard@users.noreply.github.com> Date: Fri, 8 Sep 2023 21:40:33 +0200 Subject: [PATCH] Add walls to the lightmap --- src/rendering/hwrenderer/scene/hw_walls.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rendering/hwrenderer/scene/hw_walls.cpp b/src/rendering/hwrenderer/scene/hw_walls.cpp index cc311e8583..4a262bfc69 100644 --- a/src/rendering/hwrenderer/scene/hw_walls.cpp +++ b/src/rendering/hwrenderer/scene/hw_walls.cpp @@ -347,6 +347,7 @@ void HWWall::DrawWall(HWDrawInfo *di, FRenderState &state, bool translucent) MakeVertices(di, state, !!(flags & HWWall::HWF_TRANSLUCENT)); } + state.PushVisibleSurface(lightmap); state.SetNormal(glseg.Normal()); if (!translucent) {