OP has probably resolved this issue by now, but in case someone has this problem in the future, here is how I fixed it: it's caused by reducing the sunlight too much, in my case it was the "Sunlight" option from the "Imaginator" mod. To fix it, simply wait until the problem occurs, then adjust the sunlight until the shadows appear normal again.