In previous chapters, you learned how to create planes and terrains for your game. A great effect you can add to your terrains is the illusion that there is a reflection from the ground. This can be accomplished by using the mirror command. When you create a mirror, it reflects everything that is either above it or below it. The mirror command is very simple to add:
; This code creates a mirror mirror=CreateMirror()
Here we’ve created a mirror called mirror, but you can call it anything you’d like. You can also reposition the mirror so that it is above or below your objects (see Figure 13.6).
18.118.184.91