summaryrefslogtreecommitdiff
path: root/libs/hwui/Caches.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-05-20 18:10:25 -0700
committer Chris Craik <ccraik@google.com> 2014-05-21 13:50:29 -0700
commit797b95b26bbb7557678af78b9a2a61830158920f (patch)
treeb2e895c064c511446b2709160c9d614819f871b2 /libs/hwui/Caches.cpp
parentd6a91b0bb64b17dcf4ae635f428dfd4ad310f73e (diff)
Define light position (using new lighting spec) in Java
Also updates the relative shadow strengths. Change-Id: I6cac7275d38df98aea9f0dda463cd7207102986a
Diffstat (limited to 'libs/hwui/Caches.cpp')
-rw-r--r--libs/hwui/Caches.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp
index 43223eca3e8b..77ef637a3f49 100644
--- a/libs/hwui/Caches.cpp
+++ b/libs/hwui/Caches.cpp
@@ -688,8 +688,8 @@ TextureVertex* Caches::getRegionMesh() {
///////////////////////////////////////////////////////////////////////////////
void Caches::initTempProperties() {
- propertyAmbientShadowStrength = 25;
- propertySpotShadowStrength = 25;
+ propertyAmbientShadowStrength = 12;
+ propertySpotShadowStrength = 48;
propertyLightDiameter = -1.0f;
propertyLightPosY = -1.0f;