mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
Brightmaps for two sided mid-textures
This commit is contained in:
parent
48ca9861b7
commit
d419b820d5
@ -162,7 +162,10 @@ void R_RenderMaskedSegRange(drawseg_t *ds, int x1, int x2)
|
|||||||
if (index >= MAXLIGHTSCALE )
|
if (index >= MAXLIGHTSCALE )
|
||||||
index = MAXLIGHTSCALE-1;
|
index = MAXLIGHTSCALE-1;
|
||||||
|
|
||||||
dc_colormap[0] = dc_colormap[1] = walllights[index];
|
// [crispy] brightmaps for two sided mid-textures
|
||||||
|
dc_brightmap = texturebrightmap[texnum];
|
||||||
|
dc_colormap[0] = walllights[index];
|
||||||
|
dc_colormap[1] = STRICTMODE(brightmaps) ? fullcolormap : dc_colormap[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
// killough 3/2/98:
|
// killough 3/2/98:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user