From de31a1ec9826f9ae322d14c19e8ae179f21c3561 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 9 Dec 2008 10:35:40 +0000 Subject: [PATCH] add forgotten dotProductScale git-svn-id: svn://svn.icculus.org/netradiant/trunk@135 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/shaders.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/quake3/q3map2/shaders.c b/tools/quake3/q3map2/shaders.c index 0dfa2daa..26d4b20d 100644 --- a/tools/quake3/q3map2/shaders.c +++ b/tools/quake3/q3map2/shaders.c @@ -1772,6 +1772,13 @@ static void ParseShaderFile( const char *filename ) Parse1DMatrixAppend( shaderText, 3, cm->data ); } + /* dotProductScale ( X Y Z MIN MAX ) */ + else if( !Q_stricmp( token, "dotProductScale" ) ) + { + cm->type = CM_COLOR_DOT_PRODUCT_SCALE + alpha; + Parse1DMatrixAppend( shaderText, 3, cm->data ); + } + /* dotProduct2 ( X Y Z ) */ else if( !Q_stricmp( token, "dotProduct2" ) ) { -- 2.39.2