Near and far visibility distances changing camera functions added.