Antialiasing


#1

How can I make antialiasing lines?


#2

You can find the solution in DrawPrimitivesTest in tests project.


#3

Actually the DrawPrimitivesTest file suggests to use glEnable(GL_LINE_SMOOTH); but this triggers an error, GL_LINE_SMOOTH is not supported (in older xcode versions it showed up ok in the simulator but when you ran it on the device it would do nothing).
Is there any other way of achieving this?


Final topic about Anti-Aliasing disease
#4

I got the same problem. Any suggestion? My cocos2d-x version is 2.0.4. Thanks


#5

Use sprites instead procedural lines.