We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I've been hacking on the Advanced OpenGL example sketch, trying to create a VBO-based grid that I can then apply GLSL shaders to, to do various cool things.
One of the things I want to do is add an option to display grid vertices as points. I've managed to get that working, but I can't work out how to change the point-size with an OpenGL call.
I'm currently using
gl.glDrawElements(PGL.POINTS, indices.length, GL.GL_UNSIGNED_INT, 0);
to draw the verts as points.
I'd like to add a line to change point-size, and maybe add the possibility of antialiasing them, too. I've tried various things, but haven't been able to get it to work.