From cfa9f039eca9c1c326b3298eec88fea0aa6b85ea Mon Sep 17 00:00:00 2001 From: Thomas Hou Date: Mon, 29 Dec 2014 16:43:48 +0800 Subject: [PATCH] change light direct for good look. --- tests/cpp-tests/Resources/Sprite3DTest/toon.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cpp-tests/Resources/Sprite3DTest/toon.frag b/tests/cpp-tests/Resources/Sprite3DTest/toon.frag index 1c95b8fbfd..aa412d1adf 100644 --- a/tests/cpp-tests/Resources/Sprite3DTest/toon.frag +++ b/tests/cpp-tests/Resources/Sprite3DTest/toon.frag @@ -7,7 +7,7 @@ uniform vec4 u_color; varying vec3 v_normal; void main(void) { - vec3 light_direction = vec3(1,-1,0); + vec3 light_direction = vec3(1,-1,-1); light_direction = normalize(light_direction); vec3 light_color = vec3(1,1,1); vec3 normal = normalize(v_normal);