Skip to content

Commit

Permalink
- new renderer: draw the fog layer for skies.
Browse files Browse the repository at this point in the history
Code was active but alpha wasn't set.
  • Loading branch information
coelckers committed May 17, 2021
1 parent 1d7f4c1 commit 5fd41ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/core/rendering/scene/hw_sky.cpp
Expand Up @@ -114,7 +114,9 @@ void HWWall::SkyPlane(HWDrawInfo *di, sectortype *sector, int plane, bool allowr
{
ptype = PORTALTYPE_SKY;
HWSkyInfo skyinfo;
initSkyInfo(di, &skyinfo, sector, plane, fade);
PalEntry pe = GlobalMapFog? GlobalMapFog : fade;
pe.a = 230;
initSkyInfo(di, &skyinfo, sector, plane, pe);
ptype = PORTALTYPE_SKY;
sky = &skyinfo;
PutPortal(di, ptype, plane);
Expand Down

0 comments on commit 5fd41ab

Please sign in to comment.