mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 08:40:39 +00:00
Again, patched for colormod and other extend bits.
This commit is contained in:
parent
089a0a35d0
commit
3a43cea3b7
4 changed files with 36 additions and 22 deletions
|
@ -392,12 +392,15 @@ void GL_DrawAliasFrame (aliashdr_t *paliashdr, int posenum)
|
|||
|
||||
// normals and vertexes come from the frame list
|
||||
l = shadedots[verts->lightnormalindex] * shadelight;
|
||||
// Ender: Test (Colormod)
|
||||
// if (shadecolor[0] || shadecolor[1] || shadecolor[2]) {
|
||||
// glColor3f(shadecolor[0] * l, shadecolor[1] * l, shadecolor[2] * l);
|
||||
// } else {
|
||||
glColor3f (l, l, l);
|
||||
// }
|
||||
|
||||
// Ender: Test (Colormod) [QSG Begin]
|
||||
if (shadecolor[0] || shadecolor[1] || shadecolor[2]) {
|
||||
glColor3f(shadecolor[0] * l, shadecolor[1] * l, shadecolor[2] * l);
|
||||
} else {
|
||||
glColor3f (l, l, l);
|
||||
}
|
||||
// Ender: Test (Colormod) [QSG End]
|
||||
|
||||
glVertex3f (verts->v[0], verts->v[1], verts->v[2]);
|
||||
verts++;
|
||||
} while (--count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue