cWebGL - Demo 8

Copied from original lesson at http://learningwebgl.com/blog/?p=859



Initializing…

Use blending
Alpha level

Use lighting
(Use cursor keys to spin the box and Page Up/Page Down to zoom out/in)

Directional light:

Direction: X: Y: Z:
Colour: R: G: B:

Ambient light:

Colour: R: G: B: