Jump to content
  • Advertisement

Archived

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

ReKleSS

Weird slanting textures

This topic is 5819 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 all, I''m working on a game, but when I started on the texture mapped menus, I discovered that the textures would wrap to the left at the top, resulting in a weird texture - screenshots of this at www.froggy.com.au/iwadventures (may go down after 10/20, I don''t know). Does anyone know why this would happen? I know texture mapped menus are bad blah blah blah... but I wanted to use a non-standard font for this. -ReKleSS BTW, the build of the game currently on the site is broken

Share this post


Link to post
Share on other sites
Advertisement
Are the x-y sizes of your textures a power of two such as 64x64 or 256x256? If they aren''t then it''ll cause problems like that. OpenGL expects all textures to be this size and textures according to those dimensions. If you want larger textures than that I''ve gotten 1024x768 working too.

valg3

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.

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!