mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- new renderer: draw the fog layer for skies.
Code was active but alpha wasn't set.
This commit is contained in:
parent
1d7f4c1f2b
commit
5fd41ab910
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@ void HWWall::SkyPlane(HWDrawInfo *di, sectortype *sector, int plane, bool allowr
|
||||||
{
|
{
|
||||||
ptype = PORTALTYPE_SKY;
|
ptype = PORTALTYPE_SKY;
|
||||||
HWSkyInfo skyinfo;
|
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;
|
ptype = PORTALTYPE_SKY;
|
||||||
sky = &skyinfo;
|
sky = &skyinfo;
|
||||||
PutPortal(di, ptype, plane);
|
PutPortal(di, ptype, plane);
|
||||||
|
|
Loading…
Reference in a new issue