cWebGL - Demo 15

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




Initializing…

Use color map
Use specular map
Use lighting

Point light:

Location: X: Y: Z:
Specular colour: R: G: B:
Diffuse colour: R: G: B:

Ambient light:

Colour: R: G: B:

Earth texture courtesy of the European Space Agency/Envisat.