Pinned Loading
-
-
A minimal implementation of a distan...
A minimal implementation of a distance field ray marching in pico 8. Has color dithering and soft shadows. 1--math2local function length(x, y, z) return sqrt(x*x + y*y + z*z) end
3local function norm(x, y, z) local l = length(x,y,z) return x/l, y/l, z/l end
4local function dot(xa, ya, za, xb, yb, zb) return xa*xb + ya*yb + za*zb end
5 -
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.

