I'm whigging!!!! Oops. Fixed psychedelic colors.

pull/3/head
Chris Laurel 2003-02-18 07:36:05 +00:00
parent 5c59f3921b
commit 06893625a9
1 changed files with 2 additions and 3 deletions

View File

@ -9,8 +9,7 @@ PARAM mvp[4] = { state.matrix.mvp };
PARAM eyePos = program.env[1];
PARAM lightDir = program.env[0];
PARAM diffuse = program.env[2];
PARAM ambient = state.lightmodel.ambient;
PARAM haze = program.env[6];
PARAM ambient = program.env[5];
PARAM zero = 0;
PARAM one = 1;
OUTPUT oPos = result.position;
@ -48,7 +47,7 @@ MUL oFog.x, diffuseFactor.x, diffuseFactor.y;
# Output the texture
MOV oTex0, iTex0;
# Output the primary color
MAD oColor, diffuse, diffuseFactor, ambient;
MAD oColor, diffuse, diffuseFactor.x, ambient;
END