瀏覽代碼

Fixed webgl_buffergeometry_instancing_lambert example.

Mr.doob 6 年之前
父節點
當前提交
595dc52ec7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/webgl_buffergeometry_instancing_lambert.html

+ 2 - 2
examples/webgl_buffergeometry_instancing_lambert.html

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