Review

Lighting/Review

Congratulations on making it this far! I'm not sure if you noticed, but over all the lighting tutorials we basically learned nothing new about OpenGL itself except a few minor items like accessing uniform arrays. All of the tutorials so far were all about manipulating shaders using techniques and formulas to achieve realistic lighting results. This again shows you the power of shaders. Shaders are extremely flexible and you witnessed firsthand that with just a few 3D vectors and some configurable variables we were able to create amazing graphics with just that!

The last few tutorials you learned about colors, the Phong lighting model (that includes ambient, diffuse and specular lighting), object materials, configurable light properties, diffuse and specular maps, different types of lights and how to combine all the knowledge into a single application. Be sure to experiment with different lights, material colors, light properties and try to create your own environments with the help of a little bit of creativity.

In the next tutorials we'll be adding more advanced shapes to our scene that look really well in the lighting models we've discussed.

Glossary

HI