Texture loading problem, using lwjgl and slick util to import

Started by
1 comment, last by mmakrzem 11 years, 7 months ago
The textures appear all weird and any reference to glColor## are basically ignored and it appears black
I'm creating a game of pong smile.png textures are the exact same resolution used in the game.

capturefdv.png

[background=transparent]<img class="UMSRatingIcon" id="ums_img_tooltip" />[/background][background=transparent]
<img class="UMSRatingIcon" id="ums_img_tooltip" />[/background]
Advertisement
[background=transparent]
<img class="UMSRatingIcon" id="ums_img_tooltip" />[/background]
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?

This topic is closed to new replies.

Advertisement