mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
put my sky alpha trick into a safe place. currently disabled because while it
works, it's not the right place.
This commit is contained in:
parent
0210465303
commit
9f6b0bf758
1 changed files with 19 additions and 0 deletions
|
@ -673,6 +673,25 @@ R_DrawSkyChain (msurface_t *sky_chain)
|
||||||
sc = sc->texturechain;
|
sc = sc->texturechain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
|
// seems to work, but this is the wrong place to do it.
|
||||||
|
glColor4f (1,1,1,0);
|
||||||
|
sc = sky_chain;
|
||||||
|
while (sc) {
|
||||||
|
glpoly_t *p = sc->polys;
|
||||||
|
|
||||||
|
while (p) {
|
||||||
|
int i;
|
||||||
|
glBegin (GL_POLYGON);
|
||||||
|
for (i = 0; i < p->numverts; i++) {
|
||||||
|
glVertex3fv (p->verts[i]);
|
||||||
|
}
|
||||||
|
glEnd ();
|
||||||
|
p = p->next;
|
||||||
|
}
|
||||||
|
sc = sc->texturechain;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
glColor3ubv (lighthalf_v);
|
glColor3ubv (lighthalf_v);
|
||||||
#if 0
|
#if 0
|
||||||
glDisable (GL_TEXTURE_2D);
|
glDisable (GL_TEXTURE_2D);
|
||||||
|
|
Loading…
Reference in a new issue