Преглед на файлове

fix normal_fragment_* examples

sunag преди 7 години
родител
ревизия
e03835d1f2
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      examples/js/nodes/materials/PhongNode.js
  2. 1 1
      examples/js/nodes/materials/StandardNode.js

+ 1 - 1
examples/js/nodes/materials/PhongNode.js

@@ -152,7 +152,7 @@ THREE.PhongNode.prototype.build = function ( builder ) {
 
 		var output = [
 			// prevent undeclared normal
-			"#include <normal_fragment>",
+			"#include <normal_fragment_begin>",
 
 			// prevent undeclared material
 			"	BlinnPhongMaterial material;",

+ 1 - 1
examples/js/nodes/materials/StandardNode.js

@@ -191,7 +191,7 @@ THREE.StandardNode.prototype.build = function ( builder ) {
 
 		var output = [
 			// prevent undeclared normal
-			"	#include <normal_fragment>",
+			"	#include <normal_fragment_begin>",
 
 			// prevent undeclared material
 			"	PhysicalMaterial material;",