test.fs 138 B

1234567891011
  1. #version 430
  2. uniform vec3 color;
  3. in float varLight;
  4. out vec4 outColor;
  5. void main(void) {
  6. outColor = vec4(color * varLight, 1.0);
  7. }