Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Textures larger than 256x256

This topic is 6304 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

Is there anything special I have to do to have textures bigger than 256x256? And also is there a way that I can detect whether or not the users card supports textures above 256x256? For instance, is here a way that I can do something like NeHe did in lesson #25 do detect it?

Share this post


Link to post
Share on other sites
Advertisement
you can get the max texture size with:
glGetIntegerv(GL_MAX_TEXTURE_SIZE, int *var);
i think this shloul work. this function returns the max size of your gl implementation.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!