Changed the hemisphere sampling to use cosine-weighted, thus fixing the problem with weird segmentation in lighting