Original Post
Hi, I'm working on shadow mapping and am having an odd problem. If I make my shadow map greater than 512 * 512, sometimes everything is shadowed correctly, sometiems everything is in shadow (clear failing? i dunno). 512 or less everything works correctly. I checked my caps and my max texture width/height is 4096. My depth-stencil target is a LPDIRECT3DTEXTURE9 created as D3DFMT_D24S8 Thanks,