Source

gltut / Tut 09 Lights on / data / GenCylinder.lua

Diff from to

Tut 09 Lights on/data/GenCylinder.lua

 			writer:AddText(GenStringFromArray(normals));
 		writer:PopElement();
 		writer:PushElement("vao");
-			writer:AddAttribute("name", "tint");
+			writer:AddAttribute("name", "lit-color");
 			writer:PushElement("source"); writer:AddAttribute("attrib", "0"); writer:PopElement();
 			writer:PushElement("source"); writer:AddAttribute("attrib", "1"); writer:PopElement();
 			writer:PushElement("source"); writer:AddAttribute("attrib", "2"); writer:PopElement();
 		writer:PopElement();
 		writer:PushElement("vao");
-			writer:AddAttribute("name", "flat");
+			writer:AddAttribute("name", "lit");
 			writer:PushElement("source"); writer:AddAttribute("attrib", "0"); writer:PopElement();
 			writer:PushElement("source"); writer:AddAttribute("attrib", "2"); writer:PopElement();
 		writer:PopElement();
 		writer:PushElement("vao");
-			writer:AddAttribute("name", "tint-unlit");
+			writer:AddAttribute("name", "color");
 			writer:PushElement("source"); writer:AddAttribute("attrib", "0"); writer:PopElement();
 			writer:PushElement("source"); writer:AddAttribute("attrib", "1"); writer:PopElement();
 		writer:PopElement();