assigned lookupTexture to a valid texture id