Added texture sampling