Realism: Shininess

The first thing we need to do for this exercise is switch renderers. We talked about renderers in Chapter 9, What’s All That Other Code?. Remember that the renderer is the thing that draws our games on our computer screens. We briefly discussed different kinds of renderers in that chapter. Now we’ll use them. The one that we have been using, the CanvasRenderer, will work with most computers but cannot perform some of the cool effects that we might want in our games.

This May Not Work on Your Computer!

images/callout-icons/warning.png

To achieve realism, your computer must be WebGL-capable. If your computer cannot do WebGL, then you should just read through ...

Get 3D Game Programming for Kids 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.