Original Post
Hi, I can't seem to figure out what to do about a problem with my cascaded shadow map implementation. I have some screen shots below. I get some artefacts when transitioning from one cascade to another. I think it gets confused. I tried various depth bias and slope depth bias values but the artefacts remain. I have two splits, and I transform the current vertex position with the camera view and compare the z value with an array of far distances from the split. Is there a bug in my implementation? Any help would greatly be appreciated image with artefact image without artefact, same position just camera is rotated [EDIT: Forgot to put title]