Hi, there! I am learning WebGL. I am trying to merge an example about shadowing and another about textures to achieve shaded texture. But something weird happens. I delete the varying assignment and it is working better than using the varying. I say better, because it is never working. You can check the code in the link I added. Thanks in advance!
https://drive.google.com/folderview?id=0B7GT_P0j23JAOXdodzlkbEY0Yjg&usp=sharing