Based on Lesson 7 from Learning WebGL
View C# Source Code
|
View Compiled JavaScript
Use lighting
(Use cursor keys to spin the box and
Page Up
/
Page Down
to zoom out/in)
Directional light:
Direction
X:
Y:
Z:
Color
R:
G:
B:
Ambient light:
Color
R:
G:
B: