We have implemented a new type of detector: Objects of type ‘Absorbing material’ count rays which are absorbed in a selected material. After the ray-tracing the counts are normalized to the number of emitted rays. This results in an absorption spectrum.
Objects of this type can be used to measure absorption of light in objects which have a complex shape, like a silicon wafer with textured surfaces.