I have a texture for road. Line (represented by triangle strips) with this texture looks like this:
And of course, roads can be overlapped by other roads. In this case I want to hide road borders. Road borders has alpha 0.6 in same time as road has alpha 1. So how I can hide texture parts with less alpha when they overlapped by texture parts with greater alpha? Here's what I have:
And this is what I want: