diff options
author | ztenghui <ztenghui@google.com> | 2013-12-03 10:38:55 -0800 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2013-12-13 17:25:47 -0800 |
commit | 55bfb4e728fe1db619af5d2c287f4abe711b3343 (patch) | |
tree | 3b9c9eb0902fdb0f8991259a04c342f89f65bcaa /rs/java/android/renderscript/Int2.java | |
parent | d08eadd287991ec18eafe620b24e2b1bf0ce1f2d (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/Int2.java')
0 files changed, 0 insertions, 0 deletions