Added a test model.

This commit is contained in:
2014-05-20 20:16:31 -04:30
parent 67c4c99cc5
commit 963b774c0a
4 changed files with 3625 additions and 82 deletions

View File

@@ -64,7 +64,7 @@ void main(){
v_color = a_color;
// Diffuse Term.
v_diffuse = u_lightDiffuse * max(dot(a_normal.xyz, v_lightVector), 0.0);
v_diffuse = u_lightDiffuse * vec4(1.0) * max(dot(a_normal.xyz, v_lightVector), 0.0);
gl_Position = u_projTrans * transformedPosition;
}