swcrissman
2002.06.16, 05:55 AM
Is it possible to use textures that are non-powers of two in dimension in OGL? I am developing a little app, and noticed that several of my textures were/are showing up pure white when I display them, or else are showing up the currently selected color, but others are showing their textures properly. The only difference I notice upon further examination is that the white rects are all coming from textures that are non-powers of two. So, does that behaviour sound in line with using textures that are non-powers of two, and if so, is there a way to do it anyway?
My texture needs to be 384 x 192. Since it was not working correctly, I went ahead and made it 512x256, and used texture coords to select the area I wanted. Things then seemed to work, so I'm guessing my above guess is what is wrong, but again, is there another fix?
Thanks,
Spencer
My texture needs to be 384 x 192. Since it was not working correctly, I went ahead and made it 512x256, and used texture coords to select the area I wanted. Things then seemed to work, so I'm guessing my above guess is what is wrong, but again, is there another fix?
Thanks,
Spencer