getbounces
VEX function
Contexts: displace, fog, light, shadow, surface
See also: nbouncetypes
-
int getbounces(bsdf b)
Returns the bounce mask for the specified bsdf.
The following bitmask constants are defined in pbr.h:
-
PBR_DIFFUSE_MASK- diffuse component -
PBR_GLOSSY_MASK- glossy component -
PBR_SPECULAR_MASK- mirror specular component -
PBR_EMISSION_MASK- emission component