diff options
Diffstat (limited to 'progs/demos/arbfplight.c')
-rw-r--r-- | progs/demos/arbfplight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/demos/arbfplight.c b/progs/demos/arbfplight.c index 50a1b7e9f3..d5508a6aa8 100644 --- a/progs/demos/arbfplight.c +++ b/progs/demos/arbfplight.c @@ -217,7 +217,7 @@ static void Init( void ) "MUL normal, fragment.texcoord[0], len.y; \n" "# Compute dot product of light direction and normal vector\n" - "DP3 dotProd, lightDir, normal; \n" + "DP3_SAT dotProd, lightDir, normal; # limited to [0,1]\n" "MUL diffuseColor, Diffuse, dotProd; # diffuse attenuation\n" |