View Full Version : gluBuild1DMipmaps bug?

04-24-2001, 02:10 PM
Has anyone found any issues when using gluBuild1DMipmaps? The exact call I'm using is:

gluBuild1DMipmaps(GL_TEXTURE_1D, GL_RGBA, size, GL_RGBA, GL_FLOAT, data);

And instead of getting a nice gradient I get weird multi-colored stripes in my texture. It works fine if I use glTexImage1D() to build the texture, but with shimmering of course when things are small.

Yes, my data is formatted as RGBA floats http://www.opengl.org/discussion_boards/ubb/wink.gif

-- Zeno

04-25-2001, 03:27 AM
Try using GL_RGBA8 instead of GL_RGBA in the second parameter.