Pulling jgcode's Texture contribution