- EListe:=glGenLists(1);
- glNewList(EListe, gl_compile);
- glPolygonMode (GL_FRONT_AND_BACK, GL_FILL);
- glenable(gl_blend);
- glblendfunc(gl_src_alpha, gl_src_alpha);
- gldisable(gl_depth_test);
- glcolor4f(0.3,0.3,0.8, 0.5);
- glBindTexture(gl_texture_2d, Ebene);
- glBegin(gl_quads);
- gltexcoord2f(0,0); glVertex3f(...);
- gltexcoord2f(0,0); glVertex3f(...);
- gltexcoord2f(0,0); glVertex3f(...);
- gltexcoord2f(0,0); glVertex3f(...);
- glEnd;
- gldisable(gl_blend);
- glenable(gl_depth_test);
- glPolygonMode (GL_FRONT_AND_BACK, GL_LINE);
- glEndList;