Raymarching
Raymarching trades the triangle for a function. You describe a scene as a distance field — a function that answers "how far is the nearest surface from this point?" — and then walk a ray forward by that distance until it hits something. It is how most of the complex shaders you see in a browser are built, because it needs no geometry at all.
13 shaders
Advertisement
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
-
Explained
GLSL
Advertisement