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

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
TacticalMook
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun May 10, 2026 7:52 am
Contact:

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

Post 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.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 287
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

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

Post 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
Post Reply

Return to “Modding interface requests”