attributes.glsl 210 B

1234567
  1. //
  2. // Vertex attributes
  3. //
  4. layout(location = 0) in vec3 VertexPosition;
  5. layout(location = 1) in vec3 VertexNormal;
  6. layout(location = 2) in vec3 VertexColor;
  7. layout(location = 3) in vec2 VertexTexcoord;