Tiled Textures demo:

Click here to view the source code

Press 'a' to toggle Anti-aliasing

Press 'b' to toggle bilinear filtering

The object can be rotated by dragging the mouse in the scene