disable lerping of the shadedots. stops the flicker but some lighting will

probably be a little funny.
This commit is contained in:
Bill Currie 2001-08-21 05:16:30 +00:00
parent a276e87fbc
commit 7ea46cf4ed

View file

@ -519,8 +519,6 @@ GL_GetAliasFrameVerts (int frame, aliashdr_t *paliashdr, entity_t *e)
blend = 1; blend = 1;
lerp = 1 - blend; lerp = 1 - blend;
verts1 = verts + e->pose1 * count; verts1 = verts + e->pose1 * count;
verts2 = verts + e->pose2 * count; verts2 = verts + e->pose2 * count;
@ -531,9 +529,10 @@ GL_GetAliasFrameVerts (int frame, aliashdr_t *paliashdr, entity_t *e)
+ verts2[i].v[1] * blend; + verts2[i].v[1] * blend;
vo->verts[i].vert[2] = verts1[i].v[2] * lerp vo->verts[i].vert[2] = verts1[i].v[2] * lerp
+ verts2[i].v[2] * blend; + verts2[i].v[2] * blend;
vo->verts[i].lightdot = //vo->verts[i].lightdot =
shadedots[verts[i].lightnormalindex] * lerp // shadedots[verts[i].lightnormalindex] * lerp
+ shadedots[verts2[i].lightnormalindex] * blend; // + shadedots[verts2[i].lightnormalindex] * blend;
vo->verts[i].lightdot = shadedots[verts[i].lightnormalindex];
} }
lastposenum0 = e->pose1; lastposenum0 = e->pose1;
lastposenum = e->pose2; lastposenum = e->pose2;