View Full Version : textures mapping is wrong...
03-09-2005, 10:40 PM
I did textures mapping Image.
but, The color of image was wrong.
what's the matter?
I need your help your advice.
Are you using your own image loading code?
Are you passing the correct encoding when you upload the texture to the hardware?
E.g. if you load a BMP file as RGB and then upload it you may into a little problem: BMP stores the bytes in the order BGR. In other words: red and blue are swapped.
03-22-2005, 05:01 AM
can you please post your code?
there are too many cases in which this problem occurs.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.