#Fog

2 messages · Page 1 of 1 (latest)

nimble mural
#

I've noticed that in some maps the fog is more (airborne and high seas) to the average, in others less (or none; space sector), and at times even different colours (high seas and airborne)
so I thought, why not add fog support for mods (and because I want it)

--- @param number fogDensity
--- @param number r
--- @param number g
--- @param number b
--- @return nil
function tm.world.SetMapFog(fogDensity, r, g, b) end```

Sets the current fog density and colour (if the colour values are nil, it will just set the density), could be used for snowy environments to add depth, storms, or even just for a dramatic effect
narrow pulsar
#

Foog