From e574e73b68affc960b8053ec03f2260b998d9a50 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Fri, 1 Jun 2012 21:41:07 +0000 Subject: [PATCH] - Nifty : fixed gradient material git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9446 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/niftygui/Common/MatDefs/Nifty/NiftyQuadGrad.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/niftygui/Common/MatDefs/Nifty/NiftyQuadGrad.vert b/engine/src/niftygui/Common/MatDefs/Nifty/NiftyQuadGrad.vert index 0ecaee4f2..e62b2b4cb 100644 --- a/engine/src/niftygui/Common/MatDefs/Nifty/NiftyQuadGrad.vert +++ b/engine/src/niftygui/Common/MatDefs/Nifty/NiftyQuadGrad.vert @@ -10,5 +10,5 @@ void main() { vec2 pos = (g_WorldViewProjectionMatrix * inPosition).xy; gl_Position = vec4(pos, 0.0, 1.0); - color = inIndex; + color = inColor; } \ No newline at end of file