attributes.glsl 308 B

1234567891011
  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;
  8. layout(location = 4) in float VertexDistance;
  9. layout(location = 5) in vec4 VertexTexoffsets;