How do you activate multisampling in OpenGL ES on the iPhone?
问题 I'm experimenting w/ improving the "resolution" of an OpenGL ES based app. Apple mentions here (developer.apple.com) that OpenGL ES in iOS 4 supports multisampling... and this can improve the graphics somewhat. How do you enable multisampling? 回答1: The WWDC session 415 video goes over this a bit, so grab and watch that if you can. Essentially, you create a second framebuffer for msaa rendering using glRenderbufferStorageMultisampleAPPLE for its depth and color buffers. Then you bind this