This example does not work on WebKit because of an unknown bug. If you have a fix, please mail me: murphy rubychan de.

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

Polygon density:

Directional light:

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

Ambient light:

Colour: R: G: B: