Hello. This is the case: I generate a texture with an alpha channel and lay it on all the planes of the cube. The problem is that through some absolutely transparent ( alpha channel=0
) areas on the planes of the cube other other planes are not visible. By the torsion method of the cube :) I realized that it depends on the order of the textures on the edges in the display()
function. For example, if you look through the last in the order of the overlay texture, then through it you can see all the other faces, and if you look at the cube through the first in the order of the overlay, the other faces are not visible.
I would very much like the rest of the cube to look through the rest of the cube, but I don’t know how to do it. The code is big in it is garbage (link below). Maybe the screenshots will help.
Thank you for your attention and help.