Switched lighting distance and number of rays to be public variables