Commit 5b341cd3 authored by Armin Erraji's avatar Armin Erraji

Bugfix: Point on neighbored edge falsely declared as non-illuminable

parent 389f904c
......@@ -519,7 +519,7 @@ bool ITAGeoUtils::CanFaceBeIlluminated(const CITAMesh& oMesh, CITAMesh::FaceHand
float fDotProduct = v3FaceNormal.Dot(v3EmitterFaceDirection);
if (fDotProduct < 0 + Vista::Epsilon)
if (fDotProduct < 0 + 5*Vista::Epsilon)
return true;
else
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment