3 ms·
Very neat. Shameless plug: Things can get extremely minimal if you make the view frustum orthogonal and also use raymarching instead, then the geometry (SDF) is
by tomxor 7y ago
Very neat. Shameless plug: Things can get extremely minimal if you make the view frustum orthogonal and also use raymarching instead, then the geometry (SDF) is very concise to define... a lot of the math disappears and the code gets super short... like 140 chars short:
Spheres + Displacement
https://www.dwitter.net/d/15947
https://www.dwitter.net/d/15951
Spheres Orbit + Fake Lighting
https://www.dwitter.net/d/16192
"Smoke" (3D perlin-esc noise)
https://www.dwitter.net/d/16179
https://www.dwitter.net/d/16169
Snowman + Snow
https://www.dwitter.net/d/16955
Not very practical for much of an engine of course, and also much slower than casting, but it makes it dead easy to understand by removing matrix transforms et al.