Skip to content

EL4CTEO/blender-skills / skills/blender-weather-fx

blender-weather-fx

Verified

Weather effects in Blender 5.3 - looping Geometry Nodes rain, snow, dust, ash and embers with ground hits and splashes, wet surfaces, puddles with animated ripples, wall streaks, snow cover (shader + real snow geometry), storm lightning with multi-stroke flashes and bolts, engine-ready weather masks. Use for rain, storm, snow, wet street, puddle, dust or ember scenes.

FileKindSize
SKILL.mdskill md6.5 KB
references/realtime-engines.mdmarkdown2.6 KB
references/weather-values.mdmarkdown3.1 KB
scripts/_bpyx.pyscript4.4 KB
scripts/lightning.pyscript7.7 KB
scripts/precipitation.pyscript18.6 KB
scripts/surface_weather.pyscript17.5 KB

references/realtime-engines.md

View on GitHub
# Weather for games and real-time

In engines, weather is a runtime system: particles, post-processing and material parameters. Blender's job is to deliver **meshes and masks** that the engine shaders read. Never export rain or snow instances as geometry.

## What to export from Blender
| Asset | How |
|---|---|
| Wetness/puddle/snow mask per vertex | `surface_weather.py --vertex-mask` → color attribute `ENV_Weather` (R puddles, G snow, B walls). Make it the active color attribute (`mesh.color_attributes.active_color_name = "ENV_Weather"`) |
| Mask textures | bake the wet material with `blender-texture-baking` (self-bake: basecolor/roughness), or bake the mask into a channel of a packed texture |
| Snow cover mesh | apply `ENV_SnowCover` (or export it as a separate LOD-able mesh), then `blender-asset-qa` + `blender-game-optimization` |
| Puddle decals | planes with a water material, slightly above the ground (≥ 2 mm, never coplanar: z-fighting) |
| Rain splash / ripple flipbooks | render a top-down ripple with `surface_weather` on a plane (orthographic camera), then pack the frames into an atlas |

Exporter flags (5.2): glTF `export_vertex_color="ACTIVE"` (or `"NAME"` + `export_vertex_color_name="ENV_Weather"`); FBX `colors_type="LINEAR"` for masks (sRGB would gamma-shift the values) with `prioritize_active_color=True`.

## Engine side (what reads the masks)
- **Unreal**: a wetness material function (darken albedo, lower roughness, puddle normal flatten), driven by a Material Parameter Collection `Wetness` × vertex color R. Rain = Niagara GPU sprites with depth-buffer collision, plus ripple decals.
- **Unity (URP/HDRP)**: a Shader Graph wet layer using vertex color, or HDRP decals for puddles. Rain = VFX Graph (GPU) with depth collision. Snow = a vertex color G blend to a snow layer.
- **Godot 4**: a ShaderMaterial reading `COLOR`, with GPUParticles3D + a particle collision heightfield.
- **Roblox**: no custom shaders. Use MaterialVariant / SurfaceAppearance swaps for wet and snowy versions, ParticleEmitter (`Speed`, `Acceleration`, `Drag`) for rain and snow, and Atmosphere (`Density`, `Haze`, `Glare`) for fog. Keep particle `Rate` low on mobile.

## Budgets
- Rain on mobile: around a few hundred camera-attached sprites. PC/console: thousands of GPU particles. Never use per-drop geometry.
- Masks: vertex colors cost nothing extra if the mesh already has colors. A mask texture shares an existing packed channel (for example the A of ORM).
- Fog: engine height fog (Unreal Exponential Height Fog, Unity Fog, Roblox Atmosphere). Match its density to `scene_mood` visibility: extinction ≈ 3.912 / visibility (m).
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall