From fa41041abf171f5ce7eb79c5f727076ec242847e Mon Sep 17 00:00:00 2001 From: Eric Hobbs Date: Sun, 22 Feb 2015 14:55:04 -0500 Subject: [PATCH] fixed lighting in shader for gpu example --- examples/gpu/data/test.vsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gpu/data/test.vsh b/examples/gpu/data/test.vsh index 13d356f..37293ae 100644 --- a/examples/gpu/data/test.vsh +++ b/examples/gpu/data/test.vsh @@ -37,7 +37,7 @@ ; result.color = crappy lighting dp3 r0, c8, v2 (0x4) max r0, c20, r0 (0x9) - mul r0, c9, r0 (0x8) + mul r0, c9, r0 (0x4) add o1, c9, r0 (0x4) mov o1, c20 (0x3) nop