add texture support