Render the world surfaces always in DF_LEqual mode instead of sometimes using DF_Less.

This commit is contained in:
dpjudas 2025-04-07 01:08:49 +02:00
commit 00a9c964b8
4 changed files with 4 additions and 13 deletions

View file

@ -754,7 +754,7 @@ void HWDrawInfo::RenderScene(FRenderState &state)
}
// Part 1: solid geometry. This is set up so that there are no transparent parts
state.SetDepthFunc(DF_Less);
state.SetDepthFunc(DF_LEqual);
state.AlphaFunc(Alpha_GEqual, 0.f);
state.ClearDepthBias();