- Demo 11

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




Initializing…
Use lighting
Spin the moon by dragging it with the mouse.

Directional light:

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

Ambient light:

Colour: R: G: B:

Moon texture courtesy of the Jet Propulsion Laboratory.
post_parent) { $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0$sort_column=menu_order"); } else { $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); } ?>