Tom Forsyth on Nostr: I added a debug mode showing number of steps. Green - primary ray steps, red - shadow ...
I added a debug mode showing number of steps. Green - primary ray steps, red - shadow ray steps. Because I scale step size by how close it is to the heightfield, you get a green fuzzy glow around rays that almost hit the surface but not quite.