Commits

Diego Cantor committed 5b2c253

test

Comments (0)

Files changed (2)

+.project
+.DS_Store
+
+#ignore thumbnails created by windows
+Thumbs.db
+#Ignore files build by Visual Studio
+*.obj
+*.exe
+*.pdb
+*.user
+*.aps
+*.pch
+*.vspscc
+*_i.c
+*_p.c
+*.ncb
+*.suo
+*.tlb
+*.tlh
+*.bak
+*.cache
+*.ilk
+*.log
+[Bb]in
+[Dd]ebug*/
+*.lib
+*.sbr
+obj/
+[Rr]elease*/
+_ReSharper*/
+[Tt]est[Rr]esult*

1727_06/ch6_ColorsOnWall_LightArrays.html

 			lambertTerm = dot(N, -L);
 			
 			if (lambertTerm > uCutOff){			
-				finalColor += uLightDiffuse[i] * uMaterialDiffuse *lambertTerm; //Add diffuse component , one per light
+				finalColor += uLightDiffuse[i] * uMaterialDiffuse *lambertTerm; //Add diffuse component, one per light
 			}
 		}