Add walls to the lightmap

This commit is contained in:
RaveYard 2023-09-08 21:40:33 +02:00 committed by Christoph Oelckers
parent 17ac3c27b4
commit 710e151c06

View file

@ -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)
{