Renderer · const
PARTICLE_SMOKE_FRAG
Smoke, grit and dust: a soft body eroded by noise, alpha blended, and lit.
Explained in Hello world.
const PARTICLE_SMOKE_FRAG: stringimport { PARTICLE_SMOKE_FRAG } from '@driftengine/core';In depth
Lit by the sun, the ambient and the nearby point lights, which is the half the foliage path could never do. A drift at night beside a brazier threw grey grit whatever the brazier was doing, because grass has no point-light term — and unlit smoke in a world lit by fires is the tell that gives an effect away fastest. A puff catching a flame's colour is most of what makes it belong.