Changed vertex lit shader to use functions.