Page 1 of 1

Add LuaSurface::show_fog, similar to LuaSurface::show_clouds

Posted: Tue May 12, 2026 2:51 am
by TacticalMook
I'm writing a mod to conditionally disable cloud effects while the editor is open.

LuaSurface::show_clouds lets us toggle cloud shadows (CloudsEffectProperties) at runtime. Would you please implement a similar function to toggle the fog effects (FogEffectProperties) used on Vulcanus and Gleba? Screen capture mods might like to use this feature, too.

Re: Add LuaSurface::show_fog, similar to LuaSurface::show_clouds

Posted: Tue May 12, 2026 5:27 am
by Osmo
TacticalMook wrote: Tue May 12, 2026 2:51 am Screen capture mods might like to use this feature, too.
Just noting that screenshots can already hide fog https://lua-api.factorio.com/latest/cla ... screenshot