Skip to content

kS222138/TCA_Weather_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌊 TCA Weather System - Complete Environment System

Version: 1.3.0 Godot Version: 4.6+ License: MIT

πŸ†• What's New in v1.3.0

βœ… Volumetric Cloud System

  • Full 3D volumetric clouds with self-shadowing
  • Cloud motion synchronized with wind direction & speed
  • Adjustable cloud density, shadow strength, and coverage
  • Moon illumination on clouds for night scenes
  • Cloud shadows that realistically block sunlight

βœ… Enhanced Fog System

  • Exponential height fog with weather blending
  • Fog depth falloff control for atmospheric perspective
  • Fog intensity automatically responds to rain
  • Separate fog color for sunrise/sunset hours

βœ… Day/Night Cycle Enhancement

  • Automatic color temperature shift (warm sunset, cool night)
  • Sunrise haze effect with light scattering
  • Night sky brightness control
  • Seamless transition between day phases

βœ… Rain Visual Improvements

  • Rain tint for sky & clouds (weather-driven color blending)
  • Ground wetness shader with roughness & metallic response
  • Wetness dries naturally over time after rain stops
  • Rain intensity affects fog density and cloud darkness

βœ… Particle System Optimization

  • Rain & snow particles batch-optimized for performance
  • Intensity-based particle count & lifetime adjustment
  • Mobile-friendly particle culling

βœ… Editor Integration

  • Weather parameters exposed in editor panel
  • Real-time preview of cloud, fog, and wetness settings
  • Quick-switch weather presets

βœ… What's New in v1.2.0 (Previous)

βœ… Dynamic Terrain Wetness System

  • Automatically applies wetness texture based on rain intensity
  • Supports wetness drying over time after rain stops

βœ… Vegetation Interaction System

  • Grass & foliage bending from wind
  • Rain impact effects on vegetation

βœ… Improved Performance Controller

  • Auto-quality adjusts wetness / vegetation effects
  • Mobile-specific optimizations

βœ… What's New in v1.1.0 (Previous)

βœ… Performance Optimization System

  • PerformanceController with auto-adjust based on FPS

βœ… Wind & Cloud System

  • Global wind with gust & turbulence

βœ… Weather Transition & Forecast

  • Smooth weather blending
  • Probability-based forecast system

βœ… Core Features (v1.0.0)

Cinematic Water Rendering System

  • Gerstner Waves, Dynamic Normals, Multi-layer foam
  • God Rays & Spectral Highlights

Sky & Atmosphere System

  • Rayleigh + Mie atmospheric scattering
  • 3-layer dynamic clouds

Environment Management

  • 10+ weather presets, Season system, Day/night cycle

πŸ“ File Structure (v1.3.0 Updated)

TCA_Weather_System/ β”œβ”€β”€ materials/ β”œβ”€β”€ nodes/ β”œβ”€β”€ particles/ β”œβ”€β”€ precipitation/ β”œβ”€β”€ presets/ β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ EnvironmentManager.gd β”‚ β”œβ”€β”€ PerformanceController.gd β”‚ β”œβ”€β”€ WindController.gd β”‚ β”œβ”€β”€ CloudDriver.gd β”‚ β”œβ”€β”€ WeatherTransition.gd β”‚ β”œβ”€β”€ WeatherForecast.gd β”‚ β”œβ”€β”€ QualityPreset.gd β”‚ β”œβ”€β”€ TerrainWetness.gd β”‚ └── VegetationInteraction.gd β”œβ”€β”€ seasons/ β”œβ”€β”€ shaders/ β”‚ β”œβ”€β”€ weather_system_sky.gdshader β”‚ β”œβ”€β”€ clouds_volume.gdshader # NEW in 1.3.0 β”‚ β”œβ”€β”€ wetness_effect.gdshader # NEW in 1.3.0 β”‚ └── fog.gdshader # NEW in 1.3.0 β”œβ”€β”€ textures/ β”œβ”€β”€ weather/ └── weather_controller.tscn

πŸš€ Quick Start (v1.3.0 New Features)

Volumetric Clouds gdscript var sky = $EnvironmentManager.sky_material sky.set_shader_parameter("cloud_density", 0.3) sky.set_shader_parameter("cloud_shadow", 0.5) sky.set_shader_parameter("wind_direction", 45.0)

Wetness Effect gdscript var wetness = $TerrainWetness wetness.wetness_strength = 0.8 wetness.dry_speed = 0.1

Fog Control gdscript var env = $WorldEnvironment.environment env.fog_height = 10.0 env.fog_density = 0.15 * rain_intensity

πŸ“± Performance Tuning

Setting Low Medium High Ultra Wave Layers 1 2 3 3 Cloud Layers 1 2 3 3 Volumetric Clouds Off Low Mid Full Wetness Effects Off Low Full Full Particle Count 30% 60% 100% 100%

Mobile Recommended: Low Quality

πŸ“„ License

MIT License β€” Free for commercial & personal use.

πŸ™ Credits

  • Author: ks222
  • Volumetric Clouds: Custom raymarching implementation
  • Sky Shader: Inspired by UE5 atmospheric scattering
  • Water Shader: Custom Gerstner wave implementation

πŸ›£οΈ Roadmap

  • v1.0.0 – Core water + sky + weather
  • v1.1.0 – Performance, wind, transition, forecast
  • v1.2.0 – Terrain wetness + Vegetation interaction
  • v1.3.0 – Volumetric clouds + Enhanced fog + Wetness shader βœ…
  • v1.4.0 – Audio system integration
  • v2.0.0 – Weather UI + Dynamic seasons

About

High-performance weather & environment system for Godot 4. Features: volumetric clouds, dynamic sky, water shader, wind system, seasons, precipitation, and LOD optimization.

Topics

Resources

License

Stars

Watchers

Forks

Packages