Smart Fog 2D


Smart Fog 2D is an asset that lets you create areas of fog that can be cleared through special fog lights. Great for topdown and side-scroller games!


by PufferSquid Games


Price History +

Smart Fog 2D adds dynamic, clearable fog to 2D games. Fog Lights cut through the fog per-pixel based on distance, cone angle, and range, so players can carve visibility out of dark or obscured areas in real time.


Works for top-down games (torchlight cutting through a dungeon), side-scrollers (headlights revealing a path), or any 2D game where controlled visibility matters. Supports both circular (point) and cone (directional) light shapes, with per-light falloff, range, and resistance settings so you can tune how easily different areas of fog clear.


Fog layers and lights are highly configurable and every setting can be tweaked live in Play Mode for fast experimentation. Light culling keeps performance in check by excluding lights outside camera range from GPU upload.


Supports both Built-In and Universal Render Pipeline (URP), with sample scenes for each. 


Documentation for setup and explaining each component is included.