June 2012
Beginner
376 pages
8h 32m
English
So far, we've seen how textures can be used to sample image data in a fragment shader, but we've only used them in a limited context. Some interesting issues arise when you start to look at texture use in more robust situations.
For example, if you were to zoom in on the cube from the previous demo, you would see that the texture begins to alias pretty severely.

As we zoom in, you can see jagged edges develop around the WebGL logo. Similar problems become apparent when the texture is very small on the screen. Isolated to a single object, such artifacts are easy to overlook, but they can become very distracting in complex scenes. ...