worldShadow.vs 250 B

123456789101112
  1. #version 430
  2. layout (location = 0) in vec3 position;
  3. layout (location = 1) in vec2 tex;
  4. layout (location = 2) in vec3 normal;
  5. uniform mat4 projView;
  6. uniform mat4 model;
  7. void main(void) {
  8. gl_Position = projView * model * vec4(position, 1.0);
  9. }