Sustained visual signals in the cerebellar dentate nucleus, enhanced by learning-related motivation, facilitate visual discrimination and contribute to visuomotor associative learning.