LinusG.
LinusG.

Reputation: 28902

How do I use antialiasing programmatically in OpenGl ES Xcode?

So the title pretty much says it already, I use the OpenGl ES template in Xcode to create a game. I use triangles for my code.

So what I want is basically the same like here, just for iOS instead of Android.

Can anyone help me please?

Upvotes: 1

Views: 429

Answers (1)

Reto Koradi
Reto Koradi

Reputation: 54592

While initializing the GLKView, call this to enable 4x MSAA, with view being your GLKView instance:

[view setDrawableMultisample: GLKViewDrawableMultisample4X];

Upvotes: 2

Related Questions