【问题标题】:Anti-aliasing issue in iPhones with OpenGL ES带有 OpenGL ES 的 iPhone 中的抗锯齿问题
【发布时间】:2017-06-30 14:16:47
【问题描述】:

我正在尝试在 iPhone 上使用 OpenGL ES 绘制曲线/线条。我使用 glRenderbufferStorageMultisampleAPPLE(GL_RENDERBUFFER_OES, 4, GL_DEPTH_COMPONENT16_OES, backingWidth, backingHeight) 和 glResolveMultisampleFramebufferAPPLE() 引用链接:

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

输出如下所示:

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

边缘看起来仍然像素化。感谢任何帮助。

谢谢。

【问题讨论】:

    标签: ios objective-c opengl-es antialiasing multisampling


    【解决方案1】:

    我不确定您的期望 - 抗锯齿可以模糊原始边缘,但不能使像素完全消失。

    它看起来像我期望的那样工作......

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多