Renderer · const
SMOKE_FRAG
Smoke: a column that rises, expands and dissipates. Shares the plume billboard vertex shader with fire — only the fragment behaviour differs.
Explained in Hello world.
const SMOKE_FRAG: stringimport { SMOKE_FRAG } from '@driftengine/core';In depth
Alpha-blended rather than additive: smoke occludes what is behind it, and adding it would make it glow instead of darken.