The textures appear all weird and any reference to glColor## are basically ignored and it appears black
I'm creating a game of pong textures are the exact same resolution used in the game.
[background=transparent]<img class="UMSRatingIcon" id="ums_img_tooltip" />[/background][background=transparent]
<img class="UMSRatingIcon" id="ums_img_tooltip" />[/background]
Texture loading problem, using lwjgl and slick util to import
Writing your own image file reader is not that difficult to do. The TGA file format is really trivial to read and the PNG file format isn't too bad either if you use the free library. http://www.marek-knows.com/downloads.php5?vmk=opengl2p1
The screenshot you posted kind of looks to me that your stride is off. What format are you textures saved in?
The screenshot you posted kind of looks to me that your stride is off. What format are you textures saved in?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement