bsdf mask_bsdf(bsdf b, int mask)
BSDF to mask.
A bitmask indicating which types of shading component bounces to evaluate.
See bouncemask for information on component label bitmasks.
// outF will have every component from inF except refraction bsdf outF = mask_bsdf(inF, PBR_ALL_MASK & ~PBR_REFRACT_MASK);