Want the whole set? The Godot Collection holds the CSAF Godot addon packs on one page, plus every new one, for $19.99.
Show full description...
What the player has not seen is hidden. What they have seen is remembered. What they can see right now is clear, and your own walls block sight. Fogbank is one node over your level and one revealer on anything that sees, and the fog itself comes in 48 looks computed while the game runs: a sea of clouds seen from above, ruled parchment with an inked edge, a burning map, stained glass, hex tiles, a tactical radar, rings of runes, ghost fire and more.
var fog := FogbankCatalog.instantiate("cloud_sea") fog.fog_rect = Rect2(0, 0, 1024, 768) fog.wall_layer = $Walls # a TileMapLayer: its wall tiles block sight add_child(fog) var eyes := FogRevealer.new() # a radius, or a cone with cone_degrees eyes.radius = 120.0 $Player.add_child(eyes)
Nothing is a frame sheet or a painted fog texture. Visibility is a small mask computed from your revealers and walls, each look is a shader over it, and every colour, size, speed and edge is a parameter in the inspector.
48 looks in four families
- Weather: Smoke, Cloud Sea, River Mist, Storm Front, Sandstorm, Ash Fall, Toxic Miasma, Frost Breath, Night Shroud, Steam Vents, Pollen Haze, Deep Water.
- Paper and maps: Parchment, Torn Paper, Burnt Map, Ink Wash, Watercolour, Pencil Hatch, Blueprint, Sea Chart, Linen Cloth, Woodcut, Gilded Vellum, Stained Glass.
- Grids and pixels: Square Tiles, Hex Clouds, Hex Tiles, Pixel Dither, Pixel Stair, Iso Diamonds, Low Poly, Checkerboard, Tactical Scan, Halftone, Dungeon Masonry, Mosaic.
- Arcane: Void Tendrils, Starfield, Aurora Veil, Shadow Realm, Crystal Frost, Hologram, Static, Blood Mist, Holy Veil, Ghost Fire, Ember Veil, Rune Ward.
Each look also decides how REMEMBERED ground reads: sepia under parchment, a thin veil under cloud sea, rime under frost breath, a green scan under the radar. A recolour is a parameter, never a look.
What is in it
- FogBank: the node over your level. Walls from a TileMapLayer (only tiles with a fog_blocks custom data flag, or every used cell) and from polygons in a group.
- FogRevealer: a radius or a vision cone, a near circle so a cone still sees what is right behind it, softness, strength, sees_through_walls.
- Four memory modes: NONE (line of sight only), DIM (explored ground regraded by the look), KEEP (explored stays clear), FADE (the oldest ground closes first).
- For your game code: is_visible_at(), is_explored_at(), explored_ratio() with a signal, reveal_circle(), reveal_rect(), reveal_tile(), trace_path(), and get_state() / set_state() so explored memory goes in your save file as bytes.
- 48 FogLook resources with a drop in scene each, and a demo crypt to walk through: Tab, Q and E change the look, M the memory mode, C swaps the lantern radius for a flashlight cone.
- Plain GDScript and four canvas_item shaders. No GDExtension, no plugin to enable.
Both renderers, tested
Every look photographed under Forward+ and Compatibility (the renderer web exports use): 48 + 48 frames, zero engine errors, all 48 measured as distinct pictures. Sight is computed on the CPU only when a revealer moves; on integrated graphics with a 2560 x 1440 fog at 8 px cells, one revealer moving every frame averaged about 4 ms per frame and eight moving every frame about 14 ms per frame, under both renderers, with no single frame over 40 ms (measured every test run). Godot 4.7.2; installed from the shipped zip into a blank project and used from code under both renderers. Older Godot 4 versions were not run, so they are not claimed.
Free lite on this page
Fogbank Lite is free (MIT): 12 of the 48 looks exactly as they are here (Smoke, River Mist, Night Shroud, Parchment, Pencil Hatch, Blueprint, Square Tiles, Pixel Dither, Halftone, Void Tendrils, Starfield, Static), the same nodes and the same demo.
Install
Copy addons/fogbank into your project. No plugin to enable. Use FogbankCatalog.instantiate(id), or drag a scene from addons/fogbank/presets/ into your level.
Licence
Royalty free in your games, commercial use, no credit required. Edit and recolour freely. You may not resell or redistribute the files as an asset pack, addon or shader collection. Plain language LICENSE.txt included. The demo crypt tiles come from Verdant 05 Depths, our own dungeon tileset.
AI disclosure, stated truthfully: the scripts, shaders and demo were written with AI, and every fog is drawn by that code at runtime. The cover is a designed board of the pack's own rendered frames.
Read the docs: the full guide is public.
More from the same studio
- Lantern: 48 2D Lighting Presets for Godot 4, torchlight and a whole day and night for the rooms the fog reveals.
- Weatherglass: 48 2D Weather Shaders for Godot 4, rain, snow and aurora over the ground you have explored.
- Cartography for Godot 4, a journey map that draws itself as the player explores.
- Emberflux: 120 2D Combat VFX for Godot 4, runtime shader hits, slashes and bursts.
- Smithereens for Godot 4, 48 breakables cut from your own sprites.
- Wrack for Godot 4, burn, ruin, flood or overgrow your own TileMapLayer.
- Verdigris for Godot 4, rust, patina, frost, moss and wear.
- Tidewater: 48 2D Water Shaders for Godot 4, lakes, pools, waterfalls and underwater filters.
- Sigil Core for Godot 4, procedural spell seals and magic circles.
- Jigsaw for Godot 4, any picture becomes a puzzle in 48 styles.