Initial commit.

This commit is contained in:
Mike Bostock 2012-12-14 09:47:48 -08:00
commit 44b5f2392f
98 changed files with 11750 additions and 0 deletions

6
resources/normal.frag Normal file
View file

@ -0,0 +1,6 @@
varying vec3 normal;
void main() {
vec3 n = normalize(normal) / 2.0 + vec3(0.5, 0.5, 0.5);
gl_FragColor = vec4(n[0], n[1], n[2], 1.0);
}