Skip to main content
gamedev.net
🔒 Locked

Odd texture size problem

Started by Unfadable Dec 16, 2005 at 12:19 AM 1 replies 600+ views
Original Post
Unfadable
Unfadable
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,
acid2
acid2
Can you provide any code with this? I think there could be numerous things going wrong, and it will be easier if I can see how your doing things :) Also - a screenshot would be nice :D
Unfadable
Unfadable
Hmm, well I can't reproduce the problem when I switch to the retiail d3d runtime in my control panels.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.