Renderer · type
WindStreakOptions
Makes the wind visible once it is strong enough to be worth seeing.
Explained in Hello world.
type WindStreakOptions = WindStreakSettingsimport type { WindStreakOptions } from '@driftengine/core';In depth
The threshold matters as much as the effect. Debris in a light breeze is visual noise across the whole game; debris only when it is genuinely blowing is information — it tells the player why their glide is drifting, at the one moment they need to know.
The thresholds, the drift rate and the lattice are in windStreakDraw.ts, so the WebGPU
pass shows the same weather rather than its own approximation of it.