original: Author : Stefan Gustavson (stefan.gustavson@liu.se)
https://github.com/ashima/webgl-noise/blob/master/src/classicnoise3D.glsl
These are wgsl functions, not js functions.
The function is enclosed in a js string constant,
to be appended into the code to reference it in the string shader.
- Source:
- core/classicnoise3d.js, line 1
Members
staticconstantpnoise3 String
Classic Perlin noise, periodic variant
- Source:
- core/classicnoise3d.js, line 28
Example
import { pnoise3 } from 'points/classicnoise3d'; // wgsl string ${pnoise3} let value = pnoise3(xyz);js