Skip to content

Documentation / scene / worleyFBM

Function: worleyFBM()

worleyFBM(scope, p, freq): PBShaderExp

Defined in: libs/scene/src/shaders/noise.ts:379

Calculate worley FBM

Parameters

scope

PBInsideFunctionScope

current shader scope

p

PBShaderExp

noise coordinate

freq

number | PBShaderExp

frequency

Returns

PBShaderExp

worley FBM value

Released under the MIT License.