Original Post
I have been trying to use shadow maps in my game. I followed the D3D sample (Dx9) as my game is using dx9. I am doing a flight sim. so my world is mostly outdoors. I am still in early stages of shadow implementation, so i am having some bugs, the rendering of the plane using the same way of the sample works, fine, but if i try with other big models (ex: the terrain), the rendering becomes messed up as it seems the textures are inside each other or something. As i said before i am new to shadow mapping, can it be that the shadow surface buffer is too small?