ambientDrift.package
- ..
- .metadata38 B
- README.md2.0 KB
- effect.yaml703 B
- graphs
- parts
- preview.png2.0 KB
- settings.yaml8 B
- shaders
README.md
airDrift (effect)
Ambient drifting air particles, one entry per style, each a field that runs until stopped:
| entry | what it shows |
|---|---|
fireflies | yellow-green lights rising from the grass, wandering and blinking, glowing for bloom |
cherryPetals | pink notched sakura petals tumbling down, lit and translucent |
autumnLeaves | red, orange, gold and brown leaves swinging down |
dustMotes | tiny specks that show only where light falls |
pollen | yellow and cream fluff floating up |
embers | orange sparks rising, flickering, burning out |
snow | soft white flakes falling and swaying |
mistWisps | big soft fog puffs drifting low |
waterSpray | fine droplets thrown up at a waterfall's foot, with rainbow sparkle |
ash | ragged grey flakes falling, some smouldering |
glowSpores | bioluminescent teal and green motes pulsing |
drizzle | thin streaks of light rain |
sparkles | twinkling four-pointed stars drifting up |
Every entry takes the same inputs, all numbers (a play keeps number inputs only): count
(particles at full density), areaX / areaY / areaZ (box size, m), centerX / centerY /
centerZ (world middle of the box), follow (1 wraps around the camera), density (0..1 share
shown), windX / windY / windZ (m/s), offsetX / offsetY / offsetZ (drift kept from earlier
winds), tintR / tintG / tintB and tintAmount (colour override), swayScale (mood),
sizeScale, seed.
Each graph under graphs/ calls parts/field: particles born at seeded spots through the box on
sim.particles, pulled toward the style's fall or rise speed, carrying seed, life and size in their
instance scale. shaders/driftCard draws them: the sprite shape, camera-facing or 3D tumbling cards
or streaks, sun, shadow, ambient and lamp lighting, HDR glow, blink, flicker, rainbow, and on the GPU
the wind, sway, spin, wrap-around inside the box and the density fade.
The Drift component and ambientDrift.api play these entries for you.