Chapter 8. Lighting Objects

This chapter focuses on lighting objects, looking at different light sources and their effects on the 3D scene. Lighting is essential if you want to create realistic 3D scenes because it helps to give the scene a sense of depth.

The following key points are discussed in this chapter:

• Shading, shadows, and different types of light sources including point, directional, and ambient

• Reflection of light in the 3D scene and the two main types: diffuse and ambient

• The details of shading and how to implement the effect of light to make objects, such as the pure white cube in the previous chapter, look three-dimensional

By the end of this chapter, you will have all the knowledge you need to create lighted 3D scenes populated ...

Get WebGL Programming Guide: Interactive 3D Graphics Programming with WebGL now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.