diff options
| -rw-r--r-- | core/res/res/values/dimens.xml | 4 | ||||
| -rw-r--r-- | libs/hwui/ShadowTessellator.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/res/res/values/dimens.xml b/core/res/res/values/dimens.xml index 77b451f4fca7..7a2bbc111bd0 100644 --- a/core/res/res/values/dimens.xml +++ b/core/res/res/values/dimens.xml @@ -412,7 +412,7 @@ <dimen name="light_y">-200dp</dimen> <dimen name="light_z">800dp</dimen> <dimen name="light_radius">800dp</dimen> - <item type="dimen" format="float" name="ambient_shadow_alpha">0.06</item> - <item type="dimen" format="float" name="spot_shadow_alpha">0.16</item> + <item type="dimen" format="float" name="ambient_shadow_alpha">0.047</item> + <item type="dimen" format="float" name="spot_shadow_alpha">0.098</item> </resources> diff --git a/libs/hwui/ShadowTessellator.cpp b/libs/hwui/ShadowTessellator.cpp index c1ffa0ab4807..35cc7a4fd69d 100644 --- a/libs/hwui/ShadowTessellator.cpp +++ b/libs/hwui/ShadowTessellator.cpp @@ -37,7 +37,7 @@ void ShadowTessellator::tessellateAmbientShadow(bool isCasterOpaque, // A bunch of parameters to tweak the shadow. // TODO: Allow some of these changable by debug settings or APIs. - float heightFactor = 1.0f / 128; + float heightFactor = 1.0f / 86; const float geomFactor = 64; Caches& caches = Caches::getInstance(); |