@prisoner849 I think I am looking for the opposite. You can see the source code here:
The vertex shader is here:
But I want to display all the points. As it stands, points do not appear on the backside. If I rotate the geometry (as I do), I only see a “half-moon”, ie. a half-cylinder.
Actually, thanks a lot for your help, it turns out my shaders are working as they should, but there is some kind of clipping along a vertical plane occurring at depth 0.
If I move the geometry to z = 100, with my camera at z = 1,000 in my case (and the camera.far, by default, at 2,000), then all the points show as expected.
I am still confused. The camera is preset by the framework (react-three-fiber in this case), so I am not sure which setting is causing this clipping. Ideas welcome to help me fix this.