Documentation / scene / smoothNoise3D
Function: smoothNoise3D()
smoothNoise3D(
scope,p):PBShaderExp
Defined in: libs/scene/src/shaders/noise.ts:419
Calculate smooth 3d noise by a 3d position
Parameters
scope
PBInsideFunctionScope
current shader scope
p
PBShaderExp
3d position at where to calculate noise
Returns
PBShaderExp
noise value between 0 and 1