Browse Source

Fixed webgl_buffergeometry_instancing_lambert example.

Mr.doob 6 years ago
parent
commit
595dc52ec7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/webgl_buffergeometry_instancing_lambert.html

+ 2 - 2
examples/webgl_buffergeometry_instancing_lambert.html

@@ -135,11 +135,11 @@
 				#endif
 
 				varying vec3 vLightFront;
+				varying vec3 vIndirectFront;
 
 				#ifdef DOUBLE_SIDED
-
 					varying vec3 vLightBack;
-
+					varying vec3 vIndirectBack;
 				#endif
 
 				#include <common>