Use RGB format for jpg textures and RGBA otherwise