This problem was actually "fixed", it wasn't the problem I had haha. Thanks for replying though, the problem was something else that I had gotten through.
The real problems are being discussed in...
Type: Posts; User: Robotnik
This problem was actually "fixed", it wasn't the problem I had haha. Thanks for replying though, the problem was something else that I had gotten through.
The real problems are being discussed in...
The shadowing object there is solely the character, wherever he shadows it's fine. The problem is where the scene is not shadowed, this weird pattern occurs. Seems like a problem with the depth...
Okay, I fixed that problem. Problem was, I was thinking I needed to flip on on the y axis in the matrixes when I didn't need to, and thus I got false results on some stuff.
Now I have correct...
Thanks for the reply. I didn't realise I don't need to render sky objects inside the shadow pass, so I just set the depth range to 0-1 there. Now another problem came up, which I have no idea what's...
Okay, so I realised the problem was that I was setting glDepthRange to (0.0, 0.8). Now when I get rid of this I get a semi-normal result.
But I need this to be set, I have all normal objects in...
Right now I'm trying to implement shadow mapping into my engine, I thought I had problems with back projection, but it turn out that's not the issue here.
Right now I'm having what seems to be...
Well this'll be an old timer question, I'm doing this on fixed function because the base I'm working on is quite old, and I don't want to recode almost all of it.
I'm trying to add shadow mapping...