Added distance attenuation and diffuse shading to PointLights
authorvjiaoblack <vjiaoblack@google.com>
Fri, 26 Aug 2016 15:49:46 +0000 (08:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Aug 2016 15:49:46 +0000 (08:49 -0700)
commit56f33ea2acb39ebb041340a8ab7564facb95afce
tree0a50af0bc85cd2cd795498b71a5a7dddd1ad6ddd
parent6a3976114d8a6aaa564c3c7571cfe7d1727a3a6e
Added distance attenuation and diffuse shading to PointLights

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2246463004

Review-Url: https://codereview.chromium.org/2246463004
include/core/SkLights.h
samplecode/SampleShadowing.cpp
src/core/SkLights.cpp
src/core/SkShadowShader.cpp
src/utils/SkShadowPaintFilterCanvas.cpp