summaryrefslogtreecommitdiff
path: root/chart2/opengl
diff options
context:
space:
mode:
authorweigao <weigao@multicorewareinc.com>2014-07-19 20:14:52 +0800
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-23 22:23:46 +0200
commita2282e290f3b1378021787c91d10207bf9389f9c (patch)
tree67fb52950d7e24f8e6ce4c913c75a3d2b308b746 /chart2/opengl
parentcd6029f2373c67ab39313fd6314610becb5095c5 (diff)
modify the light to make the sence looks better
Change-Id: If6badae178ffc9be2192fcfdf41fc7d062dc32c4
Diffstat (limited to 'chart2/opengl')
-rw-r--r--chart2/opengl/shape3DFragmentShaderBatch.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/opengl/shape3DFragmentShaderBatch.glsl b/chart2/opengl/shape3DFragmentShaderBatch.glsl
index b7bdc7e025b5..be24dbf08432 100644
--- a/chart2/opengl/shape3DFragmentShaderBatch.glsl
+++ b/chart2/opengl/shape3DFragmentShaderBatch.glsl
@@ -66,8 +66,7 @@ void main()
vec3 lightAmbient = Lights.ambient.rgb *
MaterialDiffuseColor *
- Material.matralParameter.ambient.rgb
- * 5.0;
+ Material.matralParameter.ambient.rgb;
for (i = 0; i < Lights.lightNum; i++)
{