Weather FX Free


What's inside ... Unity ... Either input handler for the demo: the Input Manager or the Input System. The shaders, the package's C# scripts and the GDScript that draws the demo's ...


by heyheythere


Price History +

3 animated 2D weather effects for Unity, free, one line of C# each. Every effect is a single shader on a single quad: no textures, no particle systems, sharp at any size.
  • The weather shaders (unlit, a quad each), WeatherFX as C# source, and a demo scene: a pixel-art landscape in 11 moods with a toggle per effect. Unity 6.3+, any render pipeline.
  • Unity 6.3 or later, in any render pipeline: Built-in, URP (2D or Universal Renderer) or HDRP.
  • A Documentation.txt in the package's folder says what is where and how to use it.
  • Try the demo scene in your browser: https://pikoulas.com/demos/weather-fx-free/

3 animated 2D weather effects for Unity, free, one line of C# each. Every effect is a single shader on a single quad: no textures, no particle systems, sharp at any size.

var rain = WeatherFX.Add("rain").Set("density", 0.8f);
WeatherFX.Add("fog").Set("color", new Color(0.9f, 0.9f, 1f)).FadeIn(3f);
rain.Stop(2f);

What's inside

  • rain, with splashes where it meets the ground, snow and fog: they cover the camera's view and follow it, while the patterns stay put in the world.
  • Colour, strength, speed and wind on every effect, plus density, drop length, flake size, fog height and more.
  • Pixel-art mode: WeatherFX.DefaultPixelSize = 4 and the effects draw in crisp pixels that match your art.
  • FadeIn() and Stop() for weather that comes and goes.
  • Add a WeatherFX component to an object and it shows in the editor too.
  • Demo scene: a pixel-art landscape in 11 moods, toggle and stack the effects.

Compatibility

  • Unity 6.3 or later, in any render pipeline: Built-in, URP (2D or Universal Renderer) and HDRP.
  • Either input handler for the demo: the Input Manager or the Input System.

The shaders, the package's C# scripts and the GDScript that draws the demo's landscapes pixel by pixel were written with the help of AI (Anthropic's Claude); no generative image model.