We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Been learning a bit about Points. I have a series of points that make up a shape and rotate slowly. Each point is one of 6 colours.
Points
I want to make them circular rather than square, but all of the examples I've seen to do that don't use Points at all. Should I change to a Sprite (as per this example: https://github.com/mrdoob/three.js/blob/master/examples/canvas_lines_sphere.html#L65-L90) and re-factor my code in order to get circular points, or is there another way?
Sprite
Using r84
The text was updated successfully, but these errors were encountered:
Possibly a duplicate of #11016 (especially http://jsfiddle.net/myy7x4zd/10/)?
Sorry, something went wrong.
Thanks for the reply. So in summary the only way is via an image colorized via a custom shader?
Feels pretty overengineered but I guess it's a limitation of WebGL or something
You don't have to use a custom shader. Check out how PointsMaterial is created in this example:
PointsMaterial
https://threejs.org/examples/#webgl_points_billboards
No branches or pull requests
Been learning a bit about
Points
. I have a series of points that make up a shape and rotate slowly. Each point is one of 6 colours.I want to make them circular rather than square, but all of the examples I've seen to do that don't use
Points
at all. Should I change to aSprite
(as per this example: https://github.com/mrdoob/three.js/blob/master/examples/canvas_lines_sphere.html#L65-L90) and re-factor my code in order to get circular points, or is there another way?Using r84
The text was updated successfully, but these errors were encountered: