Thanks, it works fine in the demo level you posted but still the same result when running my program. It's not a random problem as it seems that it only happens when between certain objects and the sun. The level I'm using has quite a few models/entities in it. Also, it seems to happen more in the daytime than anytime else. Here
Detail image is a new image which I hope will explain more.