Added texture states.