Added default textureFactory