summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2014-04-28 16:43:13 -0700
committerztenghui <ztenghui@google.com>2014-04-28 16:43:13 -0700
commit2e023f3827dfc0dfc1ed7c3dd54d02b4a993f0b4 (patch)
treeba319249cf92343e7d7488480a9646a235566ef9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7940dc57e3ffcf9c4a33375215f3a42250fa896c (diff)
Make sure the theta is correctly represented and incoming polygon is CW for shadow.
Now the theta = 0 should be on +x axis. And cos(theta) should correctly represent x value. Without this fix, the poly theta (from atan2) can be wrongly rotated 90 degrees. Also, make sure the incoming polygon is CW for the shadow system. This fix visual artifacts in recent regression for spot shadows. bug:13553955 Change-Id: I9bbf54db094e7f133326da4dae4610962da849c1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions