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

@@ -56,5 +56,5 @@ void main(){
vec4 lightColor = clamp(vec4(u_ambient.rgb + v_diffuse.rgb + specular.rgb, 1.0), 0.0, 1.0);
// Final color.
gl_FragColor = clamp(lightColor * v_color, 0.0, 1.0);
gl_FragColor = clamp(lightColor, 0.0, 1.0);
}