Jump to content
  • Advertisement

Archived

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

e

OpenGL 2x2 24 bit OpenGL texture problems

This topic is 6355 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

I am working on a 3D engine, and using OpenGL for my rendering. My engine currently supports 16, 24, and 32 bit textures but I am having a very weird problem with my 24 bit textures. Whenever I try to upload the 2x2 mip of any 24 bit texture, it comes out with weird colors all over the place. I can upload 2x2 32 bit textures no problem, or 1x1 24 bit or 4x4, etc... 2x2 24 bit textures don''t work. I tried my program on another computer and I got the same result. Does anyone know what the problem is? -e

Share this post


Link to post
Share on other sites
Advertisement
(prolly not of interest) youve got your screen set to 16 bit or 32 bit right. most implementations dont accelerate 24bit.
>>1x1 24 bit or 4x4, etc... 2x2 24 bit textures don''t work.<<
heres its a bit hard to understand. so 1x1 24 does work? yet 2x2 24bit doesn''t

if u can show a bit of sample code

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!