diff options
Diffstat (limited to 'src/illuminate/shadow.cpp')
-rw-r--r-- | src/illuminate/shadow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/illuminate/shadow.cpp b/src/illuminate/shadow.cpp index 99e2b29..efb52a7 100644 --- a/src/illuminate/shadow.cpp +++ b/src/illuminate/shadow.cpp @@ -11,7 +11,7 @@ bool RayTracer::isShadowed( directionFromIntersectionToLight = glm::normalize(directionFromIntersectionToLight); // acceleration causes "bad jaggies" so we disable it for now - if (m_config.enableAcceleration) + if (m_enableAcceleration) { RenderShapeData shapeData; auto pBias = intersectionWorld + .001f * directionFromIntersectionToLight; @@ -55,4 +55,4 @@ bool RayTracer::isShadowed( } return false; -}
\ No newline at end of file +} |