- glTranslatef(-1, 0,-3);
- glDisable(GL_BLEND);
- glEnable(GL_TEXTURE_2D);
- fTexture1.bind();
- glBegin(gl_Quads);
- glColor4f(1,1,1,1);
- glTexCoord2f(0,0);
- glVertex3f(-1,-1,0);
- glColor4f(1,1,1,0);
- glTexCoord2f(1,0);
- glVertex3f(1,-1,0);
- glTexCoord2f(1,1);
- glvertex3f(1,1,0);
- glColor4f(1,1,1,1);
- glTexCoord2f(0,1);
- glvertex3f(-1,1,0);
- glEnd;
- glEnable(GL_BLEND);
- glBlendFunc(GL_SRC_ALPHA,GL_ONE);
- fTexture2.Bind;
- glBegin(gl_Quads);
- glColor4f(1,1,1,0);
- glTexCoord2f(0,0);
- glVertex3f(-1,-1,0.01);
- glColor4f(1,1,1,1);
- glTexCoord2f(1,0);
- glVertex3f(1,-1,0.01);
- glTexCoord2f(1,1);
- glvertex3f(1,1,0.01);
- glColor4f(1,1,1,0);
- glTexCoord2f(0,1);
- glvertex3f(-1,1,0.01);
- glEnd;
- glDisable(GL_TEXTURE_2D);