Skip to Main Content
WebGL Beginner's Guide
book

WebGL Beginner's Guide

by Diego Cantor, Brandon Jones
June 2012
Beginner content levelBeginner
376 pages
8h 32m
English
Packt Publishing
Content preview from WebGL Beginner's Guide

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, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming 3D Applications with HTML5 and WebGL

Programming 3D Applications with HTML5 and WebGL

Tony Parisi

Publisher Resources

ISBN: 9781849691727Other