Original Post
Hi., I got shadow maps working (projected shadow maps) for my outdoor engine, however i'm facing a little problem. I'm using 2 shadowmaps, one of 1024x1024 that gets the shadows that are far away from the player, and 1 shadowmap of 2048x2048 that gets the shadows near the player. I'm placing the light origin above the player(at a height of 30 for the close shadowmap and at a height of 60 for the far away) and the light destination is the player itself. So, this way as the player moves around the shadows are getting updated. Now, the problem is that because the light moves with the player, the shadows move slightly in the ground, because the light is moving. One way to fix the problem is to increase the height of the light, but then i loose shadow resolution.., Any ideias on how to solve this ?? thanks, Bruno