View Full Version : textures mapping is wrong...
Electop
03-09-2005, 09:40 PM
hi everyone
I did textures mapping Image.
but, The color of image was wrong.
what's the matter?
I need your help your advice.
thank you.
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.
guyinhell
03-22-2005, 04:01 AM
can you please post your code?
there are too many cases in which this problem occurs.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.