Skip to content

Commit

Permalink
Merge pull request #1741 from zenustech/fixBugAndDiffraction
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
zhxx1987 authored Jan 23, 2024
2 parents cd62a34 + c2531c1 commit 4f39b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenovis/xinxinoptix/DisneyBSDF.h
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ namespace DisneyBSDF{
//ior related clearCt
float F = BRDFBasics::DielectricFresnel(abs(dot(wm, wo)), mat.clearcoatIOR);
vec3 s = BRDFBasics::EvalMicrofacetReflection(ax, ay, wo, wi, wm,
F,
vec3(F),
tmpPdf) * 0.25 * mat.clearcoat;
sterm = sterm + s;
f = f + s;
Expand Down

0 comments on commit 4f39b7d

Please sign in to comment.