]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
add forgotten dotProductScale
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 9 Dec 2008 10:35:40 +0000 (10:35 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 9 Dec 2008 10:35:40 +0000 (10:35 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@135 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/shaders.c

index 0dfa2daa862ce51ae2f28edd6aab93290c09aef0..26d4b20d957374945aa118be5689474f376837fa 100644 (file)
@@ -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" ) )
                                        {