Shadow problems.

May 4, 2013 at 8:31 PM
Hi, I am getting used to your engine, it's really good so far. But there is a slight problem with any objects larger than a 1x1x1 cube. The shadows seems to produce some weird artifacts, only in some cases. I have attached a photo, maybe someone knows what is wrong. Note I am using cascaded shadow maps.

Thanks.
Image
Jun 21, 2013 at 3:55 PM
Edited Jun 21, 2013 at 4:14 PM
I still have no idea what is causing this problem, or how to fix it. If anyone knows how, it would be very helpful.

Edit: And as soon as I posted this, I found a fix. It seems setting the nearclip to anything over 1 fixes this problem. I just need to see why the shadows still don't line up properly.
Jul 4, 2013 at 9:00 AM
This problem has resurfaced, again. It's not the nearclip. If anyone knows, it would be really helpful.