Added AI raytracing.