raytracing with absorbing capabilities