b.com/integeruser/jgltut for info, updates and license terms.
Part IV. Texturing Chapter 17. Spotlight on Textures http://www.arcsynthesis.org/gltut/Texturing/Tutorial%2017.html
W,A,S,D - move the camera forward/backwards and left/right, relative to the camera's current orientation. Holding SHIFT with these keys will move in smaller increments. Q,E - raise and lower the camera, relative to its current orientation. Holding SHIFT with these keys will move in smaller increments. SPACE - reset the projected flashlight direction. T - toggle viewing of the current target point. G - toggle all of the regular lighting on and off. P - toggle pausing. 1,2 - toggle between different light textures.
LEFT CLICKING and DRAGGING - rotate the camera around the target point, both horizontally and vertically. LEFT CLICKING and DRAGGING + CTRL - rotate the camera around the target point, either horizontally or vertically. LEFT CLICKING and DRAGGING + ALT - change the camera's up direction. RIGHT CLICKING and DRAGGING - rotate the orientation of the light horizontally and vertically, relative to the current camera view. RIGHT CLICKING and DRAGGING + CTRL - rotate the orientation of the light horizontally or vertically only, relative to the current camera view. RIGHT CLICKING and DRAGGING + ALT - spin the orientation of the light. WHEEL SCROLLING - move the camera closer to it's target point or farther away.
@author integeruser