When you’re done with this chapter, you will

  • Be able to make shapes as shiny as you like
  • Know how to make shadows in 3D games
  • Be able to add textures to make 3D shapes even more realistic

Chapter 12Working with Lights and Materials

In this chapter we’ll cover how to build interesting shapes and materials that look like this:

images/lights_and_materials/when_you_are_done.png

All the way back in Chapter 1, ​Project: Creating Simple Shapes​, we introduced the mesh as the combination of shapes and covers. Since then we’ve talked a lot about shapes—the different kinds, how we can combine them, how we can move them, and more. But aside from changing colors, we haven’t really talked about ...

Get 3D Game Programming for Kids, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.