Weird slanting textures

Started by
2 comments, last by ReKleSS 21 years, 6 months ago
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
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
Yeah, you could be right... but I''m using gluBuildMipMaps, shouldn''t that fix it?

-ReKleSS
Well, I resized my textures, and it worked, thx!

This topic is closed to new replies.

Advertisement