add init with texture