Way to hide Points if geometry is seen from backside?

Seems you’re looking for this: https://codepen.io/prisoner849/pen/gOaMXMy?editors=0010

    vec3 vNormal = normalMatrix * normal;
    vVisible = step( 0., dot( -normalize( mvPosition.xyz ), normalize( vNormal ) ) );

4 Likes