I need to render roads and some direction marks on top of them. I render roads as triangled geometry, same goes for marks (see picture - road is purple, mark is red, ignore z-fighting).
Problem goes for edge of road. Is too much "jagged" and not straight. Is it result of perspective projection (thats what I believe). And how can it be improved? There is no texture, colors are filled directly in fragment shader.
EDIT:
I have tried solution from duplicite answer, but jagged edges are still there. Even if multisampled EGLConfig is selected.
But there's other solutions just look for "opengl ES" anti-aliasing. You're probably not going to get anything that works faster and better than native multisampling.
– PeterT Aug 31 '13 at 18:13