use ES6 spread operator for GL uniform setter