Adds support for arbitrary textures!