2017-06-30 49 views
0

我试图在iPhone上使用OpenGL ES绘制曲线/线条。我已经使用glRenderbufferStorageMultisampleAPPLE(GL_RENDERBUFFER_OES,4,GL_DEPTH_COMPONENT16_OES,backingWidth,backingHeight)和glResolveMultisampleFramebufferAPPLE()参考链接:使用OpenGL ES的iPhone中的消除锯齿问题

苹果文档的链接 https://developer.apple.com/library/ios/documentation/3ddrawing/conceptual/opengles_programmingguide/WorkingwithEAGLContexts/WorkingwithEAGLContexts.html

输出看起来是这样的:

https://i.stack.imgur.com/gpPIK.png

边缘看起来像素化。任何帮助表示赞赏。

谢谢。

回答

0

我不确定你在期待什么 - 反差可以模糊原始边缘,但它不能使像素完全消失。

它看起来像我期待的那样...