Skip to main content
GameDev.net gamedev.net
🔒 Locked

Shadow mapping bug.

Started by toasterthegamer Sep 1, 2008 at 6:05 PM 0 replies 900+ views
Original Post
toasterthegamer
toasterthegamer
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.