Added back support for RGB input for Texture