Added a numberOfChannels to Textures