- glEnable (GL_BLEND);
- glBlendFunc (GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
- glBegin (GL_QUADS);
- glTexCoord2f (0,1);
- glColor4f (1,1,1,0.20);
- glVertex3f (-1,-1,0);
- glTexCoord2f (1,1);
- glColor4f (1,1,1,0.20);
- glVertex3f (1,-1,0);
- glTexCoord2f (1,0);
- glColor4f (1,1,1,0.0);
- glVertex3f (1,1,0);
- glTexCoord2f (0,0);
- glColor4f (1,1,1,0.0);
- glVertex3f (-1,1,0);
- glEnd;
- glDisable (GL_BLEND);