Advertisement

upside-down textures in DevIL

Started by March 20, 2005 05:09 PM
11 comments, last by eXXXile 19 years, 11 months ago
y dont u just wind the coordinate the other direction
had gone to sleep..... just woke up

Quote:
Original post by adam17
y dont u just wind the coordinate the other direction


because, basically, I want the library to work as a normal image loader should... My code should work the same with any image loader don't you think? I cannot believe that they made such a big library and did not manage to load the images correctly, there MUST be a setting or something there.....
Advertisement
ok, I found the problem....

look at this
http://sourceforge.net/forum/forum.php?thread_id=1228834&forum_id=13560

only in this release, the texture coords for opengl are wrong, I cannot believe it.... anyway, for me the solution is iluFlipImage before calling glTexImage2D. Thanks all of you, lovely forum dwellers!

This topic is closed to new replies.

Advertisement