_FEATURES
- Four cloud types from one shader: cumulus, altostratus, cirrus and cumulonimbus.
- Procedural cloud field, with no texture dependency.
- Adjustable opacity, density, scale, wind, drift, bob, contrast, softness, sky tint and seed.
- Optional transparent-area masking.
- Layout-space coordinates, so the cloud field follows layer scrolling.
──────────────────────────────
_CLOUD TYPES
Set with the Cloud type parameter. Every other parameter still applies; each type just interprets the shared cloud field differently.
0 Cumulus / Broken puffs over open sky.
1 Altostratus / Closed grey overcast sheet in wide flat layers, with no defined edges.
2 Cirrus / Sparse fibrous streaks high in the frame, stretched along the wind.
3 Cumulonimbus / Tall billowing storm mass with a lit crown, anvil top and dark base.
Values in between are rounded to the nearest type. Because Cloud type selects a different shape rather than a blend, it is not interpolatable — animate Opacity or Density to move between weather states instead.
──────────────────────────────
_PARAMETERS
Cloud type / 0 cumulus, 1 altostratus, 2 cirrus, 3 cumulonimbus.
Opacity / Cloud overlay opacity.
Density / Cloud coverage. For altostratus the sheet always covers the sky, so it sets light transmission instead.
Scale / Size of the cloud field. Higher values make the clouds larger.
Wind X / Horizontal drift speed in pixels per second. Positive moves right.
Wind Y / Vertical drift speed in pixels per second. Positive moves down.
Drift / Internal cloud evolution speed.
Bob / Small sinusoidal vertical bob amount.
Contrast / Cloud definition.
Softness / Softness of cloud edges.
Sky tint / How much the sky gradient tints the clouds.
Sky top color / Top color of the sky gradient.
Sky bottom color / Bottom color of the sky gradient.
Only on transparent / 0 renders everywhere. 100 renders only where the foreground layer or object is transparent.
Seed / Offsets the random pattern.
──────────────────────────────
_LINKS
GitHub repository