Introduction

This sample demonstrates the use of texture matrices to animate textures.

Controls

Press Esc or click the close button to exit.
Move the mouse to rotate the camera.

Implementation

1. The OnLoad event handler loads the wormhole texture and builds a display list for a "wormhole" object.

2. The OnRenderFrame event handler modifies the texture matrix to give the illusion of animation and renders the wormhole.