generalized to a single vertex shader