Skip to main content
GameDev.net gamedev.net
🔒 Locked

Non-pow2 textures

Started by DrGUI Aug 1, 2005 at 2:31 PM 1 replies 700+ views
Original Post
DrGUI
DrGUI
Hi To do post-processing effects I need to render to render targets that are the same size as the back buffer. I had a look at the TextureCaps.SupportsNonPower2Conditional caps bit however I'm not sure that I've found the correct flag because the limitation of no dependent texture reads seems rather...limiting. Is this the right cap? Thanks
Sr_Guapo
Sr_Guapo
What card are you using? Most cards (all that I know of) will internally convert textures to a square base 2 texture. If you make a 1024x768 texture, it may actually become 1024x1024. I am pretty sure any card within the last 5 years (surely any Radeon or GeForce cards) supporrt non base-2, but I cannot be sure.
Sean Henley [C++ Tutor]Rensselaer Polytechnic Institute

Topic Locked

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

Sign in to reply to this topic.