mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Translucent floors shouldn't write into the depth buffer
This commit is contained in:
parent
5a4ea9fab3
commit
1b3e1f78af
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ static void HWR_RenderPlane(sector_t *sector, extrasubsector_t *xsub, boolean is
|
||||||
if (PolyFlags & (PF_Translucent|PF_Fog))
|
if (PolyFlags & (PF_Translucent|PF_Fog))
|
||||||
{
|
{
|
||||||
Surf.FlatColor.s.alpha = (UINT8)alpha;
|
Surf.FlatColor.s.alpha = (UINT8)alpha;
|
||||||
PolyFlags |= PF_Modulated|PF_Occlude|PF_Clip;
|
PolyFlags |= PF_Modulated|PF_Clip;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
PolyFlags |= PF_Masked|PF_Modulated|PF_Clip;
|
PolyFlags |= PF_Masked|PF_Modulated|PF_Clip;
|
||||||
|
|
Loading…
Reference in a new issue