diff --git a/src/shapes/hair.cpp b/src/shapes/hair.cpp index 9106be9d..19a9c693 100644 --- a/src/shapes/hair.cpp +++ b/src/shapes/hair.cpp @@ -846,6 +846,7 @@ void HairShape::fillIntersectionRecord(const Ray &ray, its.p += its.geoFrame.n * (m_kdtree->getRadius() - std::sqrt(local.y*local.y+local.z*local.z)); its.shFrame.n = its.geoFrame.n; + coordinateSystem(its.shFrame.n, its.dpdu, its.dpdv); its.hasUVPartials = false; its.instance = this; its.time = ray.time;