mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Translucent floors shouldn't write into the depth buffer
This commit is contained in:
parent
0742655892
commit
5c3f203d91
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…
Add table
Reference in a new issue