diff --git a/src/subsurface/singlescatter.cpp b/src/subsurface/singlescatter.cpp index 6d6b380b7..fa4f137c7 100644 --- a/src/subsurface/singlescatter.cpp +++ b/src/subsurface/singlescatter.cpp @@ -679,7 +679,7 @@ class SingleScatter : public Subsurface { if (m_singleScatterShadowRays) { // Shadow test 1: is the outgoing point visible from the light // source? - const Ray shadow1 = Ray(Pc, omegaL, ShadowEpsilon, + const Ray shadow1 = Ray(Pc, omegaL, Epsilon, domegaL * (1 - ShadowEpsilon), time); if (scene->rayIntersect(shadow1)) { return Spectrum(0.0f);