Load multiple meshes from obj file

This commit is contained in:
2017-02-27 19:15:00 -05:00
parent 7259f5daf2
commit 1c5491a2c5
5 changed files with 567 additions and 9 deletions

View File

@@ -18,5 +18,5 @@ void main ()
gl_Position = pv * vec4(pos, 1);
vcoord = uv;
light = dot(vec3(0, 0, 1), normal) / 2 + .5;
light = dot(vec3(.2, .3, 1), normal) / 2 + .5;
}