Added basic raytracing support