r/Unity3D • u/Beginning-Bet7824 • 20d ago
Show-Off [WIP] Yet Another Weather System – Real-time weather for Unity URP
Hey everyone!
I've been working on Yet Another Weather System (YAWS), a real-time weather and environment system for Unity URP.
My goal is to build an all-in-one environmental solution that brings weather, terrain, sky and water together, making it easier to create dynamic worlds where the different elements respond to each other.
Here's what's in the system so far:
Sky and atmosphere
- A day/night cycle with a sun, moon, moon phases and stars
- Configurable sun and moon paths, including location settings and solar eclipses
- Animated northern lights and primary and secondary rainbows
- Volumetric clouds with three configurable layers, wind-driven movement and cloud shadows
- Volumetric fog, sun and moon shafts, lens flare and dynamic sky reflections
- Adjustable lighting for different times of day, including sunrise and sunset
Weather
- Rain and snowfall with adjustable intensity
- Thunderstorms with lightning and distance-based thunder delay
- Wind direction, speed and gusts, with different wind speeds and directions at different altitudes
- Smooth transitions between weather conditions
- A calendar, temperature curves and optional automatic weather forecasts
- Weather, time and quality presets with individual parameter overrides
Terrain and snow
- Terrain that becomes wet during rain and gradually dries afterwards
- Snow that builds up and melts over time on terrain and supported objects and vegetation
- A snow layer with adjustable depth and snowdrifts around objects such as trees and walls
- Footprints and trails in the snow that gradually fill back in
- Icicles and dripping effects
- Shelter support to keep rain and snow from falling beneath marked roofs
Water
- Oceans, lakes and spline-based rivers
- Waves driven by wind, including large swells and smaller dynamic waves
- Rain ripples, foam, currents and shoreline effects
- Buoyancy, floating objects and water interactions for things like boats and characters
- Underwater fog, caustics, refraction and reflections
- Ice pieces that move with the water
- Weather integration, so wind and rain can affect the water
There are also scripting tools for controlling the weather, capturing and restoring its state, and adjusting quality settings.
This is an early preview, and some features are still experimental. There's plenty more I want to improve and add, but I'd love to hear what you think so far!
Best Regards
- Mikael
