Added basic support for textures