Smooth points OpenGL ES 2.0 using shaders
I am drawing 开发者_C百科some points using glDrawArrays(GL_POINTS, ...) and I would like to make them smooth round points instead of the squares. I know that there is no fixed function pipeline in OpenGL ES 2.0 so I am wondering if there is an easy way of doing this with the fragment shader?
Thanks in advance,
ExtremeCoder
I would render the point as a textured quad. That is straight forward, will do the job, works on even the oldest OpenGL versions and is probably faster than a shader.
精彩评论