Time for action – trying different filter modes
- Open the file
ch7_Texture_Filters.html
using your HTML5 Internet browser: - The controls along the bottom include a slider to adjust the distance of the box from the viewer, and the buttons modify the magnification and minification filters.
- Experiment with different modes to observe the effect they have on the texture. Magnification filters take effect when the cube is closer, minification filters when it is further away. Be sure to rotate the cube as well and observe what the texture looks like when viewed at an angle with each mode.
What just happened?
Let's look at each of the filter modes in depth, ...
Get WebGL Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.