Lesson 5: Textures

  • Make the 't' key toggle whether textures are applied to the shapes.
  • Using timers, make the texture continuously move along the surface of the triangle.
  • Make or find your own bitmap file to use as a texture (the width and height should both be 64, 128, or 256). Apply it to the bottom face as a second texture, without changing the texture of the triangle in the back.

Next is "Lesson 6: Putting It All Together".