O'Reilly logo

WebGL Beginner's Guide by Brandon Jones, Diego Cantor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — trying different filter modes

  1. Open the file ch7_Texture_Filters.html using your HTML5 Internet browser:
    Time for action — trying different filter modes
  2. 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.
  3. 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, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required