From: Eric Hobbs Date: Sun, 22 Feb 2015 19:55:04 +0000 (-0500) Subject: fixed lighting in shader for gpu example X-Git-Tag: v0.5.0~26^2 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=fa41041abf171f5ce7eb79c5f727076ec242847e;p=corbenik%2Fctrulib.git fixed lighting in shader for gpu example --- 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