From a7e9d9bba4483d328bc022b0e0db42cbfe54c052 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Thu, 30 Jun 2016 14:14:28 -0600 Subject: [PATCH] light: embree: fix for liquid faces casting shadows! --- light/trace_embree.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/light/trace_embree.cc b/light/trace_embree.cc index 6293728c..9d99b619 100644 --- a/light/trace_embree.cc +++ b/light/trace_embree.cc @@ -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); }