Smart Fog 2D View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
6000.0.26 or later
Package size
68.4 MB
Files
226
Views in the past week
9

Price tracking

Last checked
Tracked since
Lowest recorded
$11.99 on

Keywords

Smart Fog 2D

by PufferSquid Games (opens in new tab)

No ratings yet

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!

Price $11.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Smart Fog 2D, 6 months Current $11.99; lowest $11.99; highest $11.99 in this period. $0 $10 $20 Sep Oct Nov

Asset preview

1 / 4

Smart Fog 2D screenshot 1

Smart Fog 2D screenshot 1

About this asset

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.

From the publisher's Asset Store listing.

Technical details

  • 2D fog shader with scrolling, animated fog textures
  • Per-pixel fog clearing driven by Fog Lights - distance, cone angle, and range based, no mesh deformation
  • Circle (point) and Cone (directional) light shapes, each with independent falloff, range, and clearance resistance settings
  • Edge feathering against scene geometry via camera depth texture
  • Multiple fog layers per scene, each with independent density, color, and light influence settings
  • Light culling - lights outside a configurable radius from the camera are excluded from the shader
  • Configurable Max Light Count and Light Update Interval for performance tuning
  • Live-editable fog and light settings in Play Mode for quick experimentation
  • Supports both perspective and orthographic cameras
  • Compatible with Unity 2019.4+ (Unity 6 recommended), Built-In and URP (10+) render pipelines
  • Sample scenes included for both render pipelines

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
6000.0.26f1 Compatible Compatible Not listed

This package features two versions of the same fog shader - one for URP and one for Built-in Render Pipeline. When you import the package after compiling scripts, you'll be asked to select which render pipeline you're using.

The shader not associated with your selected RP will be discarded. The same goes for demo scenes targeted to the diffrernt render pipelines.

As listed on the Asset Store.