Permalink
Browse files

done2

  • Loading branch information...
1 parent 4c6bd49 commit fe49ce59e84b833c6bc68ec5253baa9c8c769ea0 @silam committed Apr 4, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 USTNoir4.cpp
View
@@ -910,7 +910,7 @@ void setupPoliceLight()
glUniform4fv(policeredspecular_color, 1, vec4(1.0f,1.0f,1.0f,1));
glUniform4fv(policeredambient_light, 1, vec4(0.2, 0.2, 0.2, 1));
- glUniform1f(policeredspot_cutoff, 30);
+ glUniform1f(policeredspot_cutoff, 45);
glUniform1f(policeredspot_exponent, 120);
@@ -923,7 +923,7 @@ void setupPoliceLight()
glUniform4fv(policebluespecular_color, 1, vec4(0.0f,0.0f,1.0f,1));
glUniform4fv(policeblueambient_light, 1, vec4(.2, .2, .2, 1));
- glUniform1f(policebluespot_cutoff, 30);
+ glUniform1f(policebluespot_cutoff, 45);
glUniform1f(policebluespot_exponent, 120);
glUniform1i(policeBlueOn, 1);
@@ -949,8 +949,7 @@ void setupHeadLight()
glUniform4fv(headleftlight_position, 1, mv*Translate(currentX, 0, currentZ)* RotateY(turnCarAngle)*leftlampSource);
glUniform4fv(headleftspot_direction, 1, mv*Translate(currentX, 0, currentZ)* RotateY(turnCarAngle)*leftlampDest);
- //glUniform4fv(headleftdiffuse_color, 1, vec4(0.8,.8f,.4f,1));
- //glUniform4fv(headleftspecular_color, 1, vec4(1,.8f,.4f,1));
+
glUniform4fv(headleftdiffuse_color, 1, vec4(1.0f,1.0f,1.0f,1));
glUniform4fv(headleftspecular_color, 1, vec4(1.0,1.0f,1.0f,1));
glUniform4fv(headambient_light, 1, vec4(.2, .2, .2, 1));

0 comments on commit fe49ce5

Please sign in to comment.