Topic: OpenGL, Deep, Alpha and planes
Something straight off could not find. There are two textures with alpha channel how them correctly to draw on two planes with different height? I.e. two planes, a side view are drawn at me: ____ ____ the first is drawn the left, second right. So, on a picture I see right over left. With glEnable (GL_DEPTH_TEST) it turned out to cut left (left) a plane, i.e. the alpha is not considered. The order , well, as though and logically is considered. But here an alpha... glEnable (GL_BLEND) it is included, glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) I can am, of course, simple sort planes on z and draw them in such order but if they are not parallel planes XY? And to be intersected? It is all manually somehow becomes, cutting off by planes?