Simple but working custom shader with textures

Custom uniforms, vertex shader, and fragment shader
Based on http://stackoverflow.com/questions/12627422/custom-texture-shader-in-three-js
Pass normal and position varyings
Attempt at tiling with fract(), not quite right
Start porting https://github.com/mikolalysenko/ao-shader/blob/master/lib/ao.vsh . Only stripes so far
Now each tile displays the entire texture atlas. Progress?
Scale by 16/512 (texture/atlas), now voxel textures are sized correctly but not of the right material
Add atlasSize uniform for clarity
Reorganize constructor to initialize uniforms
Disable tilepad for now
Add scale(), but might not be needed
Remove unneeded scale function
Move tile calculation to vertex shader
Now I'm just guesisng :/