DrawNormals.vs 181 B

12345678910111213
  1. attribute highp vec3 vertexIn;
  2. attribute highp vec3 normal;
  3. out Vertex
  4. {
  5. vec3 normal;
  6. } vertex;
  7. void main(void)
  8. {
  9. gl_Position = vec4(vertexIn, 1.0);
  10. vertex.normal = normal;
  11. }