mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
disable lerping of the shadedots. stops the flicker but some lighting will
probably be a little funny.
This commit is contained in:
parent
a276e87fbc
commit
7ea46cf4ed
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue