开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜