• Advertisement

Archived

This topic is now archived and is closed to further replies.

weird graphics

This topic is 5810 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

ok i made a texture in paint shop pro 7. the texture is blue but when i load it in open gl it''s green any one know why.

Share this post


Link to post
Share on other sites
Advertisement
Maybe you''re saving it in a format that swaps the blue and green channels? Or maybe you''re reading it in wrong?

---
"No game will ever rule more than CBT!" - stoof
Visit Da Shovvkejs.

Share this post


Link to post
Share on other sites
You''re probably telling OpenGL to use the RGB format. Windows BMP files aren''t in RGB, but in BGR or some other weird format. Look it up on MSDN.

Share this post


Link to post
Share on other sites

  • Advertisement