Let there be light

dojo

Lighting model used in dojox.gfx3d is merged from Eugene’s 2D lighting utility library. We take a simplified Phong reflection model for the vector graphics:

• All light sources are infinitely far away