Browse Source

Merge pull request #239 from pcvonz/master

adding missing 3 to vec
Rémi Verschelde 9 years ago
parent
commit
a713e4e927
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reference/shading_language.rst

+ 1 - 1
reference/shading_language.rst

@@ -471,7 +471,7 @@ Material that glows from red to white:
 
 
 ::
 ::
 
 
-    DIFFUSE = vec3(1,0,0) + vec(1,1,1) * mod(TIME, 1.0);
+    DIFFUSE = vec3(1,0,0) + vec3(1,1,1) * mod(TIME, 1.0);
 
 
 Standard Blinn Lighting Shader
 Standard Blinn Lighting Shader