-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
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
Add support for GL_POINTS and gl_PointSize #334
base: develop
Are you sure you want to change the base?
Conversation
Hello! Have you tried this in web and native builds? Never used this primitive so I am not sure if this is something that will work in the same way in different targets. Thanks for the PR! |
Hi, I'm currently away right now so I cannot compile any test code. But from what I can remember about Points, they have a hard limit as to how big they can get. I also encountered this limit in my test Seems to be device dependent too, but that one I'm not too sure. |
Simple pull request to add support for drawing Points as a primitive as well as support for using
gl_PointSize
in the vertex shader. Sorry if I missed anything, I don't know much about OpenGL. However I've used it in my own toy project and it works (not sure how much of an assurance that is)Now you should be able to make a pipeline that has gl_PointSize support by doing
And you should be able to draw points by doing