Let's cover an example of seeing different wrap modes in action:
- Open the ch07_04_texture-wrapping.html file using your browser:
- The cube shown in the preceding screenshot has texture coordinates that range from -1 to 2, which forces the texture wrapping mode to be used for everything but the center tile of the texture.
- Experiment with the controls to see the effect that different wrap modes have on the texture.
What just happened?
We experimented with various approaches to texture interpolation and mipmapping techniques, along with interactive examples demonstrating these capabilities.
Now, let's investigate each of the wrap modes and discuss how they function.