Prevent Points from facing towards camera

Is there an easy way to prevent pointsMaterial to face towards the camera?

When you look at this example:

https://jsfiddle.net/7jtvkh0x/

When rotating the viewport, the different points always face towards the camera. Can this get prevented?

The best I can imainge is to use instanced planes instead of points: Multiple textures with instanced geometry

Do you know where this function is defined? Probably there is another way to disable it…

I’m sorry, but I’m not so experienced with disabling the default functionality of points :frowning:

It’s not possible to do this with points. They always have the shape of a rectangle in a certain size and are faced towards the camera. This is not a restriction of three.js but of WebGL in general.

So using instanced rendering like suggested by @prisoner849 is one (already optimized) way to implemented what you are looking for.

1 Like