How to draw anti aliased lines in OpenGL ES 2.0?

前端 未结 2 1852
迷失自我
迷失自我 2021-02-04 18:05

I am trying to draw some contours that I have stored as vertex arrays:

 typedef struct
{
    float* vertices;
    int nrPoints;
}VertexCurve;

list

        
2条回答
  •  难免孤独
    2021-02-04 19:03

    To be able to do multisampling, you need a multisample framebuffer. On most OpenGL-ES implementations this is done by creating a multisampled Frame Buffer Object, render to that, then copy its contents to the screen framebuffer.

提交回复
热议问题