ztenghui 55bfb4e728 Calculate and show Ambient shadow.
Basically we compute the shadow as a strip of triangles, whose alpha value
is the strength of the shadow.
We use the normal to extend the geometry.
And we use static function and try to avoid new/malloc in the computation.

Change-Id: I382286f1cad351bd5ff983f76f446c075819dcaf
2013-12-13 17:25:47 -08:00
..
2013-12-09 15:57:09 -08:00
2013-04-15 13:53:02 -07:00
2013-12-13 17:25:47 -08:00
2013-08-06 18:35:01 -07:00
2013-08-06 18:35:01 -07:00
2013-12-13 17:25:47 -08:00
2013-12-13 17:25:47 -08:00
2013-12-13 17:25:47 -08:00
2013-12-12 10:18:23 -08:00
2013-12-12 10:18:23 -08:00
2013-12-13 21:55:50 +00:00
2013-12-12 10:18:23 -08:00
2013-12-12 10:18:23 -08:00
2013-12-12 10:18:23 -08:00
2013-06-13 14:58:32 -07:00
2013-08-02 15:31:29 -07:00
2013-05-02 17:50:23 -07:00
2013-12-12 10:18:23 -08:00
2013-12-12 10:18:23 -08:00
2013-12-12 10:18:23 -08:00
2013-12-13 21:55:50 +00:00
2013-06-13 14:58:32 -07:00
2013-02-13 11:33:26 -08:00
2013-08-01 15:35:24 -07:00
2013-12-12 10:18:23 -08:00