light: embree: fix for liquid faces casting shadows!

This commit is contained in:
Eric Wasylishen 2016-06-30 14:14:28 -06:00
parent bdca751361
commit a7e9d9bba4
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ Embree_TraceInit(const bsp2_t *bsp)
skyfaces.push_back(face);
} else if (texname[0] == '{') {
fencefaces.push_back(face);
} else if (texname[0] == '*') {
// ignore liquids
} else {
solidfaces.push_back(face);
}