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