Archived

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

e

OpenGL 2x2 24 bit OpenGL texture problems

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
(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