Example 3: Texture from JavaScript Image Object


A WebGL-enabled browser is needed to run the examples.
Refer to this page for a quick HOWTO.


Description

This example shows how to asynchronously load an image and use it as a texture.

Controls

Press "a" to turn left.
Press "s" to turn right.

Log