Translucent floors shouldn't write into the depth buffer

This commit is contained in:
Sryder 2018-03-15 23:59:01 +00:00
parent 5a4ea9fab3
commit 1b3e1f78af
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ static void HWR_RenderPlane(sector_t *sector, extrasubsector_t *xsub, boolean is
if (PolyFlags & (PF_Translucent|PF_Fog))
{
Surf.FlatColor.s.alpha = (UINT8)alpha;
PolyFlags |= PF_Modulated|PF_Occlude|PF_Clip;
PolyFlags |= PF_Modulated|PF_Clip;
}
else
PolyFlags |= PF_Masked|PF_Modulated|PF_Clip;