Game Design Lab 4

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.
  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 floor code so that the floor doesn't apply in one spot. 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. Labs are due at the end of the next lab session.