Add texture support to internal viewer.