Game Design Lab 4

Due Wednesday, September 18

For this lab, create a hole in the floor! It must be possible to fall in the hole, but it is ok if you can recover by just walking forward in space. If using the current class demo, with the tiled floor, this plan should work (but you can do it some other way if you want):
  1. Modify the vertex shader so it will skip one or more tiles. You can put an "if" statement in, but can't suppress the vertex shader's output, so just draw one instance in the wrong spot to form the hole.
  2. Add to the falling code so that the floor doesn't apply in one spot (as in, at particular coordinates for x and z). You should be able to modify the "if" statement condition on the floor to make that happen.
When this is done, if you step in your hole, you should fall through.