I updated my ray marcher to use RGB colours internally and random dither back to 16 colours.
This should allow me to add things like partially transparent surfaces, or atmospheric fog at some point.


could be interesting to see if atan2 distance/normalizer brings significant improvements (no overflow + faster): https://www.lexaloffle.com/bbs/?pid=120774#p


Made a version with Floyd-Steinberg dithering (instead of random dithering).




This is awesome. 🤩
It's all black magic to me - but still, very impressive!


@Liquidream was all black magic to me too until recently.
It's heavily based on Inigo Quilez's tutorials and shaders. Or at least the parts that I can understand :-)
@freds72 that actually sounds like a worthwhile speedup. I had always assumed atan2 was expensive.
[Please log in to post a comment]