Skip to content

Commit

Permalink
Fix measuredpolarized in JIT modes
Browse files Browse the repository at this point in the history
  • Loading branch information
opueyociutad authored and njroussel committed Mar 22, 2024
1 parent 3013adb commit 68b3a5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bsdfs/measured_polarized.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class MeasuredPolarized final : public BSDF<Float, Spectrum> {

MeasuredPolarized(const Properties &props) : Base(props) {
m_flags = BSDFFlags::GlossyReflection | BSDFFlags::FrontSide;
dr::set_attr(this, "flags", m_flags);
m_components.push_back(m_flags);

m_alpha_sample = props.get<ScalarFloat>("alpha_sample", 0.1f);
Expand Down

0 comments on commit 68b3a5f

Please sign in to comment.