2017-06-30 52 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

我不確定你在期待什麼 - 反差可以模糊原始邊緣,但它不能使像素完全消失。

它看起來像我期待的那樣...