adding texture support