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.
P#125495 2023-02-08 00:34 ( Edited 2023-02-09 03:19)
could be interesting to see if atan2 distance/normalizer brings significant improvements (no overflow + faster): https://www.lexaloffle.com/bbs/?pid=120774#p
P#125514 2023-02-08 06:16
This is awesome. 🤩
It's all black magic to me - but still, very impressive!
P#125678 2023-02-10 17:28
@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.
P#125696 2023-02-10 22:45 ( Edited 2023-02-10 22:51)
[Please log in to post a comment]