Hello.
I try to load a bmp image and set it to a texture.
When i render the model with the texture (using shaders), even though
the rgb channels are passed fine, the alpha channel is always 1.
When the image is loaded (using readImageFile), the pixel format is
GL_RGBA (which is correct).
But the
Hi,
Alpha channel is not supported by all image file format.
For example PNG support it, JPEG doesn't.
I'm not sure the BMP format support alpha channel (or maybe no all variant of
BMP format)
Cheers,
Aurelien
--
Read this topic online here:
Hello nameless stranger,
On 13/03/13 1:19, Peterakos wrote:
I try to load a bmp image and set it to a texture.
When i render the model with the texture (using shaders), even though
the rgb channels are passed fine, the alpha channel is always 1.
Can you make your BMP file available?
I have a
3 matches
Mail list logo