Jump to content
  • Advertisement
Sign in to follow this  
DrGUI

Non-pow2 textures

This topic is 4736 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
Thanks Sir!

I have a newish GeForce FX 5200 and is does support the non-pow-2-conditional cap but is it the right cap?

Cheers

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!