progs/trivial: add test case for lighting plus per-vertex materials

Exercise material-within-begin/end case.
2 files changed