The amazing strategy of "rewriting the entire thing from scratch and hoping it's better the next time around" fixed a weird bug with my shadows for the #zig #raytracer. I also made normal shading toggleable! (the setting is hardcoded but a single variable change and recompile isn't too bad for now)
Full disclosure, I'm following the "Ray Tracing in One Weekend" (https://raytracing.github.io/) book online, but I'm rewriting everything in Zig, and adding my own stuff here and there.