Original Post
I've been working on my first cubic shadow mapping shader writen in HLSL. I am running into some depth issues though and I cant seem to figure out whats wrong.. Image of the problem: http://willhostforfood.com/users/toasterthegamer/ShadowBug2.jpg And here's my code: http://www.nomorepasting.com/getpaste.php?pasteid=19793 Sorry if the code is really sloppy I am just looking for something that works right now. :) I am pretty sure its not the model as I have used my friends cubic shadow mapping shader without problems. I've used the depth shader lots of times too and I know it works. Thanks for any help! -Toaster