noise function
Tiling value noise, baked on the CPU, linear, RepeatWrapping.
import { noise } from '@dioramajs/diorama/kit'Shared per renderer and options with a reference count tied to ctx: never dispose it.
function noise(
ctx: Pick<EffectContext, 'render' | 'onDispose'>,
options?: NoiseOptions,
): TextureParameters
| Name | Type | Description |
|---|---|---|
ctx | Pick<EffectContext, 'render' | 'onDispose'> | |
options? | NoiseOptions | Default |
Also exported from @dioramajs/effects/kit.
Defined in packages/effects/src/kit.ts.