3
As discussed in the comments above, it may be easier to get this effect (and scale better to large values of N) by flipping the request around.
Rather than the shader for the scene geometry checking - in every rendered fragment - its distance to each of the N points, we can instead draw the scen...