Commit f9a01c0a authored by Matt Pharr's avatar Matt Pharr

Fix masking-shadowing term in Disney BSDF (@awangk)

parent 13f73b32
......@@ -355,7 +355,7 @@ public:
Float G(const Vector3f &wo, const Vector3f &wi) const {
// Disney uses the separable masking-shadowing model.
return G1(wo) * G1(wo);
return G1(wo) * G1(wi);
}
};
......
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