Made recursive raytracing.