mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-21 11:01:12 +00:00
darkangel, this one's for you! r_dynamic 0 now causes colored shading of
models to not happen.
This commit is contained in:
parent
9d3ffb99f8
commit
bcf938088b
1 changed files with 8 additions and 3 deletions
|
@ -480,9 +480,14 @@ R_DrawAliasModel (entity_t *e) {
|
||||||
ambientlight += add;
|
ambientlight += add;
|
||||||
// ZOID: models should be affected by
|
// ZOID: models should be affected by
|
||||||
// dlights as well
|
// dlights as well
|
||||||
shadelight[0] += cl_dlights[lnum].color[0];
|
if (r_dynamic->value) {
|
||||||
shadelight[1] += cl_dlights[lnum].color[1];
|
shadelight[0] +=
|
||||||
shadelight[2] += cl_dlights[lnum].color[2];
|
cl_dlights[lnum].color[0];
|
||||||
|
shadelight[1] +=
|
||||||
|
cl_dlights[lnum].color[1];
|
||||||
|
shadelight[2] +=
|
||||||
|
cl_dlights[lnum].color[2];
|
||||||
|
}
|
||||||
shadelight[3] += add;
|
shadelight[3] += add;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue