light: bounce: don't generate bounce lights for "skip" texture

This commit is contained in:
Eric Wasylishen 2016-04-29 22:43:42 -06:00
parent ae082fccdb
commit 99f6451741
1 changed files with 4 additions and 0 deletions

View File

@ -970,6 +970,10 @@ MakeBounceLightsThread (void *arg)
continue;
}
if (!strcmp("skip", Face_TextureName(bsp, face))) {
continue;
}
winding_t *winding = WindingFromFace(bsp, face);
DicePatch(bsp, face, winding, 1024);
}