Closed lorentzo closed 3 years ago
Did you verify, if the problem also occurs with bsdf_mix
and bsdf_blend
? If they do, could you please include a solution for that too, to close #1243 fully?
Thanks Lovro for your work!
As we discussed previously, we are going with the implementation from #2901.
Description
This PR related to issue Double wrapping of child BSDFs in BSDFBlend, BSDFMix and OSLBSDF #1243. It fixes double wrapping when OSLBRDF, BSDFBlend or BSDFMix are used. Idea is that BSDFWrapper is not applied if the current wrapped BRDF is OSLBRDF, BSDFBlend or BSDFMix.
NOTE: this PR is also required for #2886.