Directly assigning vertex colours instead of painting?

Is there a way to assign vertex colours to selected vertices instead of painting? Bonus points if I can assign to one colour channel and leave the others untouched. (If I could assign a value to red channel and leave green alone, so on.)

I make low-poly models for games and find I can do some visual effects storing additional data for vertices in the colour channels, but often painting them isn’t precise enough for what I want to do.

The only i know of assigning vertex color is shift+k (the fill brush) may be you want to use face mask option as well. Note that this is not my workflow so i m suggesting :wink:

this is the way to do it (shift+k with face mask turned on) at the moment. The upcoming vertex colour + alpha improvements from GSOC 2017 include ways to lock channels etc. they are really cool