add normal to VertexData

This commit is contained in:
Anakin
2017-01-08 14:41:53 +01:00
parent 5c2f5503fc
commit 948578f506
4 changed files with 34 additions and 11 deletions

View File

@@ -10,6 +10,7 @@ uniform mat4 m_matrix;
attribute vec4 a_position;
attribute vec2 a_texcoord;
attribute vec3 a_normal;
varying vec2 v_texcoord;