venerdì 24 luglio 2015

Day 38: Shadow mapping part 3

Today i finally managed to implement shadows but i'm not happy at all.

First of all, i'm using a color texture instead of a depth one because i'm not succeding in using the depth one for an unknown reason.

Second, skyboxes are not working anymore, i need tho choose between shadows or them, i think the problem reside in the depth test but i couldn't make it work.

Third, i have some bad black artifacts on the border pixels of my models, no idea why.

And finally, using the bias to eliminate shadow acne from the shadows introduces some bad effects, like the whiter band you can see in the photo.



Nessun commento:

Posta un commento