Distance to light source and soft shadows