message: fixed bug in OrenNayar
diff: @@ -38,7 +38,7 @@ inline BSDF_EvalRes OrenNayar_eval(const varying BSDF* uniform super,
  float cosThetaI = max(dot(wi, getN(super)), 0.f);
  float s = dot(wo, wi) - cosThetaO * cosThetaI;
  - float sInvt = (s > 0.f) ? (s * rcp(max(cosThetaO, cosThetaI))) : s;
  + float sInvt = (s > 0.f) ? (s * rcp_safe(max(cosThetaO, cosThetaI))) : s;
  res.value = self->super.albedo * (cosThetaI * (1.f + self->roughness * sInvt) * rcp(pi + (pi/2.f - 2.f/3.f) * self->roughness));
  res.pdf = cosineSampleHemispherePDF(cosThetaI);
  return res;
  