Skymist is a third sky layer with transparency, and adopts the fade color and skyfog density. Size not connected to SKY1 or SKY2. Works with 6-sided skyboxes. Three template pngs (skymist1, 2, & 3) all 1x544 pixels, 8-bit grayscale with transparency are part of gzdoom.pk3 for general usage. Can supply custom lump through mapinfo. Console command 'skymisttoggle' shows the effect (make sure fade has a non-zero color in mapinfo and skyfog has non-zero density). Oh, and skyfog now works with 6-sided skyboxes.

This commit is contained in:
Dileep V. Reddy 2025-04-26 09:11:58 -06:00 committed by Ricardo Luís Vaz Silva
commit e9a067dd65
14 changed files with 80 additions and 12 deletions

View file

@ -964,6 +964,7 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
("fadeto", fadeto)
("skyspeed1", skyspeed1)
("skyspeed2", skyspeed2)
("skymistspeed", skymistspeed)
("found_secrets", found_secrets)
("found_items", found_items)
("killed_monsters", killed_monsters)
@ -977,6 +978,7 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
("totaltime", i)
("skytexture1", skytexture1)
("skytexture2", skytexture2)
("skymisttexture", skymisttexture)
("fogdensity", fogdensity)
("outsidefogdensity", outsidefogdensity)
("skyfog", skyfog)