I upload a 2D texture using :
GL_COMPRESSED_RGB_ARB as internal format and
GL_RGBA as format because my pixels (not compressed) are store on 4 bytes but I only use 3 components. So I don’t care about alpha value. Nevertheless the rasterisation use the alpha component of the texture even if I not use the GL_COMPRESSED_RGBA_ARB ! Thus I must to set to 255 the alpha value (If I set 0 the texture appear black).
Is there any reason why you can’t just convert the image to RGB?
It’s not difficult, and you’ll save memory that way, which I assume is what you want to do if you’re using compression.
Yes of course, but I would like to keep the alignment…
Originally posted by Don’t Disturb: Is there any reason why you can’t just convert the image to RGB?
It’s not difficult, and you’ll save memory that way, which I assume is what you want to do if you’re using compression.
Moreover, I was not sure before but now I’m sure that NVidia driver (about this extension) has a bad behaviour !