Copied from original lesson at http://learningwebgl.com/blog/?p=1359
Initializing…
Use lighting
Point light:
Location: | X: | Y: | Z: |
Colour: | R: | G: | B: |
Ambient light:
Colour: | R: | G: | B: |
Moon texture courtesy of the Jet Propulsion Laboratory.
Copied from original lesson at http://learningwebgl.com/blog/?p=1359
Location: | X: | Y: | Z: |
Colour: | R: | G: | B: |
Colour: | R: | G: | B: |