The only primitive way is visualizing the value being tested by passing the value to one or more fragment-color channels.

Same struggling as 2 years ago with soft shadows algorithms in glsl but don’t feel much struggle instead seeing it as a challenge. contemplate. test possible steps and guess what’s wrong.

:_(