Dynamic Textures demo:

Click here to view the source code

Press 'a' to toggle Anti-aliasing

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