does any one can provide any clues on why I don't get shadow on certain areas (the screenshots will illustrate the problem)

and the shadow map, as seen by the light

format of the shadow texture is D3DFMT_R32F
here is how i calculate light view and orthographic projection matrix
D3DXMatrixLookAtLH(&lightsView, &lightPos, &(D3DXVECTOR3(lightPos.x - 10.0f, 0.0f, lightPos.z - 10.0f)), &(D3DXVECTOR3(0.0f, 1.0f, 0.0f))); D3DXMatrixOrthoOffCenterLH(&ortho, 10, orthoX, 10, orthoY, 0, orthoZ); *lightsViewProjection = lightsView * ortho;







