mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-16 08:41:42 +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;
|
||||
// ZOID: models should be affected by
|
||||
// dlights as well
|
||||
shadelight[0] += cl_dlights[lnum].color[0];
|
||||
shadelight[1] += cl_dlights[lnum].color[1];
|
||||
shadelight[2] += cl_dlights[lnum].color[2];
|
||||
if (r_dynamic->value) {
|
||||
shadelight[0] +=
|
||||
cl_dlights[lnum].color[0];
|
||||
shadelight[1] +=
|
||||
cl_dlights[lnum].color[1];
|
||||
shadelight[2] +=
|
||||
cl_dlights[lnum].color[2];
|
||||
}
|
||||
shadelight[3] += add;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue