mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
- fixed: the current shade was applied twice for voxels - once as a shade and once as a light level.
This commit is contained in:
parent
bbc145cbee
commit
90ce4a893d
1 changed files with 1 additions and 1 deletions
|
@ -1082,7 +1082,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
|
||||||
|
|
||||||
float pc[4];
|
float pc[4];
|
||||||
|
|
||||||
pc[0] = pc[1] = pc[2] = ((float)numshades - min(max((globalshade * hw_shadescale) + m->shadeoff, 0.f), (float)numshades)) / (float)numshades;
|
pc[0] = pc[1] = pc[2] = 1.f;
|
||||||
|
|
||||||
auto& h = hictinting[globalpal];
|
auto& h = hictinting[globalpal];
|
||||||
if (h.f & (HICTINT_USEONART|HICTINT_ALWAYSUSEART))
|
if (h.f & (HICTINT_USEONART|HICTINT_ALWAYSUSEART))
|
||||||
|
|
Loading…
Reference in a new issue