No Description

base.vert 214B

123456789101112
  1. #version 450
  2. layout (location = 0) in vec3 inPos;
  3. layout (location = 1) in vec3 inNormal;
  4. layout (location = 0) out vec3 outNormal;
  5. void main(void)
  6. {
  7. outNormal = inNormal;
  8. gl_Position = vec4(inPos.xyz, 1.0);
  9. }