examples/gl/multiLightExample/README.md
This example is the perfect starting point if you want to try out different light sources and their interaction with various objects. The animations and the possibility to alter attributes regarding the graphics library, the lights and the objects gives you the power to compare and understand the settings. There is more information about the different light sources on the ofLight documentation page.
You will learn how to..
When launching this app, you should see multiple animated objects: a large cube behind a sphere, both rotating around their own axis and a little rotating cube moving towards the camera and back. You should also see a light source represented by a green sphere and a coordinate system rotating around the sphere in the center. That's the point light that spreads outward evenly in all directions. The directional light has no position, it takes care of illuminating all objects from a certain angle based on their orientation.
Instructions for use:
up or down arrow keys to change the spot light cutoffleft or right arrow keys to change the spot light concentrationThis Example uses the following classes: