Simplex Noise
Gradient noise evaluated on a simplicial grid (triangles in 2D, tetrahedra in 3D) rather than a cubic one, so the number of contributing corners grows linearly with dimension and directional artifacts shrink.
Also known as OpenSimplex (patent-free relative)
In the family Procedural generation, noise functions
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | Official add-on | import { SimplexNoise } from 'three/addons/math/SimplexNoise.js' docs |
| Babylon.js 9.38.0 | Built in | SimplexPerlin3DBlock in Node Material Editor docs |
| Godot 4.7 | Built in | FastNoiseLite.noise_type = FastNoiseLite.TYPE_SIMPLEX docs |
| Unity | Official add-on | Package Manager > Mathematics > noise.snoise docs Unity.Mathematics simplex noise (Gustavson/McEwan). |
| Unreal 5.7 | Built in | Material Noise expression > Function = Simplex (texture based) docs |
| Blender 5.2 | Built in | Shader / Geometry Nodes > Noise Texture (multi-dimensional FBM gradient noise) docs |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
The input is skewed so the unit hypercubes become sets of simplices; the cell containing the point is found by sorting the fractional coordinates. Only n+1 corners contribute instead of 2^n. Each corner gets a hashed gradient, and its contribution is the dot product times a radially symmetric falloff kernel of the form (r^2 - d^2)^4 clipped at zero beyond the corner's influence radius. Contributions are summed and scaled to roughly unit range, then unskewed coordinates are used for distance. The summation kernel instead of interpolation gives a visually more isotropic field with no axis-aligned bias. The original idea is Perlin's 2001 course material; Gustavson's write-up and GLSL implementations made it practical on GPUs.
When to choose it
Reach for it when
- perlin noise shows grid-aligned artefacts
- need animated 3d or 4d noise cheaply
- noise for volumetric density with less directional bias
- noise cost grows too fast in higher dimensions
- smoother organic noise for clouds or terrain
Choose it for 3D/4D animated noise (time as fourth dimension), for volumetric density, or when grid alignment in Improved Perlin Noise is visible. Prefer Improved Perlin Noise in 2D when you need simplicity or analytic derivatives are already derived for it, and note that classic 3D simplex was patented in the US until 2022, so older engines ship OpenSimplex variants.
Field marks
- Patent history (US 6867776, expired January 2022) led many libraries to ship look-alike variants with different output, so seeds are not portable across implementations
- Visible diagonal bias in some 2D implementations that skew incorrectly
- Sharp falloff kernel makes derivatives noisier than quintic Perlin when used for normals
- Output range differs per dimension and per library, so scale constants copied between codebases are wrong
Presets
2D simplex noise over its skewed triangular lattice
{
"SCALE": 5
}Show GLSL (33 lines)
// 2D simplex noise: skewed triangular lattice (white lines) with three radially-attenuated gradient contributions per triangle.
const float SCALE = 5.0;
vec2 grad(vec2 i) {
float a = 6.2831853 * fract(sin(dot(i, vec2(127.1, 311.7))) * 43758.5453);
return vec2(cos(a), sin(a));
}
float simplex(vec2 v) {
const float F = 0.3660254, G = 0.2113249;
vec2 i = floor(v + (v.x + v.y) * F);
vec2 x0 = v - i + (i.x + i.y) * G;
vec2 o = x0.x > x0.y ? vec2(1, 0) : vec2(0, 1);
vec2 x1 = x0 - o + G, x2 = x0 - 1.0 + 2.0 * G;
float n = 0.0;
float t0 = max(0.5 - dot(x0, x0), 0.0); n += t0 * t0 * t0 * t0 * dot(grad(i), x0);
float t1 = max(0.5 - dot(x1, x1), 0.0); n += t1 * t1 * t1 * t1 * dot(grad(i + o), x1);
float t2 = max(0.5 - dot(x2, x2), 0.0); n += t2 * t2 * t2 * t2 * dot(grad(i + 1.0), x2);
return 70.0 * n;
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = fragCoord / iResolution.xy;
vec2 p = uv * SCALE;
float n = simplex(p) * 0.5 + 0.5;
float n2 = simplex(p * 2.0 + 7.0) * 0.5 + 0.5;
float h = 0.7 * n + 0.3 * n2;
vec3 col = 0.5 + 0.5 * cos(6.2831 * (h * 1.1 + vec3(0.0, 0.1, 0.2)));
col *= 0.7 + 0.3 * smoothstep(0.0, 0.5, abs(fract(h * 10.0) - 0.5));
vec2 s = p + (p.x + p.y) * 0.3660254;
vec2 f = fract(s);
float edge = min(min(f.x, 1.0 - f.x), min(min(f.y, 1.0 - f.y), abs(f.x + f.y - 1.0) * 0.7071));
col = mix(col, vec3(1.0), smoothstep(0.02, 0.008, edge) * 0.8);
fragColor = vec4(pow(col, vec3(0.8)), 1.0);
}
Attribution: written for this index
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| simplex-noise-specimen | Tesla T4 1920x1080 | 4.92× baseline (light) · 0.162 ms / 0.171 ms | opengl-timer-query · 40 frames · GPU Weight Atlas · Colab T4 sweep |
| simplex-noise-specimen | NVIDIA L4 1920x1080 | 3.92× baseline (light) · 0.062 ms / 0.063 ms · 2.6× faster on L4 | opengl-timer-query · Cross-architecture validation |
| simplex-noise-specimen | NVIDIA A100-SXM4-40GB 1920x1080 | 2.77× baseline (light) · 0.080 ms / 0.080 ms · 2.0× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
Sources
- primaryStefan Gustavson. Simplex noise demystified. weber.itn.liu.se.Archived copy (live page blocked or gone) · 2026-11-29
- primaryIan McEwan, David Sheets, Mark Richardson, Stefan Gustavson (2012). Efficient Computational Noise in GLSL. Journal of Graphics Tools.Verified via crossref · 2026-11-29doi:10.1080/2151237x.2012.649621
- implementationstegu (2016). stegu/webgl-noise. GLSL procedural noise functions compatible with WebGLGitHub API · license MIT · 2026-11-29
- implementationjwagner (2012). jwagner/simplex-noise.js. A fast simplex noise implementation in Javascript / Typescript.GitHub API · license MIT · 2026-11-29