Using shader x, y, z coordinates relative to the tilted object and not the scene in Three JS

I would go with modification of PointsMaterial (not MeshXXXMaterial or ShaderMaterial), with Points: https://codepen.io/prisoner849/pen/RwyzrVj?editors=0010

1 Like