WebGL Beginner's Guide - Chapter 6

Using GLSL Array Uniforms to handle Multiple Lights

Your browser does not support the HTML5 canvas element.
Light #1:
X:0.0
Y:7.0
Z:3.0
Light #2:
X:2.5
Y:3.0
Z:3.0
Light #3:
X:-2.5
Y:3.0
Z:3.0
Light Cone CutOff:0.6