Rendering now takes into acount the distance from eye to object.