Parameters
aovName: The name of the AOV to write to.
useColor: If this is on, it outputs a RGB color image instead of a float image for the AOV.
invert: If this is on, it inverts the signal for the AOV.
inPrimaryHit: If this is on, the usual mask of the illuminated objects is generated. If this is off, you can get a mask of only in the refraction or reflection.
inRefraction: If this is on, the rays are traced through the glass refractions to get the masking signal. Warning: this will require some amount of samples to get a clean mask.
inReflection: If this is on, the rays are traced through the specular reflections to get the masking signal. Warning: this will require some amount of samples to get a clean mask.
onVolumeBoundaries: If this is on, the bounding box or shape of volumes will appear in the mask. Since this is not always desirable, this can be turned off.
useThroughput: If this is on, the values in the mask for the reflected or refracted rays will be affected by the strength of the reflection or refraction. This can lead to values below and above 1.0. Turn this off if you want a more solid mask.