Previous frame

previousFrame: what this layer drew last frame, read by name. Trails, afterimages, smears, phosphor persistence, anything that builds on its own past: max(last(uv) * 0.95, ink).

import {previousFrame} from 'shaders/std'

Types

TypeWhat it is
PreviousFrameInputinterface PreviousFrameInput extends InputNode { readonly kind: 'previousFrame' readonly frames: number readonly scale: number }

Words