Add anti-aliasing for 3d ray tracing.