Added texture support