Way to hide Points if geometry is seen from backside?

Thanks! This is the shader/solution I was looking for. However, I need the concept to also work on geometries like:

const geometry = new THREE.TorusKnotGeometry( 10, 3, 100, 16 );

Anyone know how the shader can be adjusted? I will also try myself