WebGL - 13 Per-fragment lighting and multiple programs

No <canvas> suppport in your browser.
Use lighting
Per-fragment lighting
Use textures


Point light:

Point light: X: 0.0 Y: 0.0 Z: -5.0
Color: R: 0.8 G: 0.8 B: 0.8

Ambient light:

Color: R: 0.2 G: 0.2 B: 0.2


Moon texture courtesy of the Jet Propulsion Laboratory.

<- Back
000webhost logo