I do not understand how to play with an alpha channel, translucent frame on the top and bottom
code:
void Scene1::ShowRam()
{
glEnable(GL_ALPHA_TEST);
glEnable(GL_BLEND);
glAlphaFunc(GL_GEQUAL, 0.0);
/*
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glBlendFunc(GL_SRC_ALPHA, GL_ONE);
glAlphaFunc(GL_GREATER, 0.0 f);...