The difference is that in this example I use a box for visibility. It has more parameters than a sphere, thus I use a structure (as I’ve never used it before, so I’ve gave it a try ), passing it to the shaders.
Just to clarify: points are static, only the box of visibility moves through them.