Browse Source

ref_soft: re-enable lightstyles for LightPoint

pull/2/head
mittorn 6 years ago
parent
commit
0c62967d8a
  1. 6
      r_light.c

6
r_light.c

@ -346,9 +346,9 @@ static qboolean R_RecursiveLightPoint( model_t *model, mnode_t *node, float p1f, @@ -346,9 +346,9 @@ static qboolean R_RecursiveLightPoint( model_t *model, mnode_t *node, float p1f,
if( 1 ) //tr.ignore_lightgamma )
{
cv->r += lm->r * 255 * 2.5; // scale;
cv->g += lm->g * 255 * 2.5; // scale;
cv->b += lm->b * 255 * 2.5; // scale;
cv->r += lm->r * scale * 2.5; // scale;
cv->g += lm->g * scale * 2.5; // scale;
cv->b += lm->b * scale * 2.5; // scale;
}
else
{

Loading…
Cancel
Save