Browse Source

Material: Documented onBeforeCompile expected parameters.

Mr.doob 5 years ago
parent
commit
722e6df536
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/materials/Material.js

+ 1 - 1
src/materials/Material.js

@@ -83,7 +83,7 @@ Material.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
 
 
 	isMaterial: true,
 	isMaterial: true,
 
 
-	onBeforeCompile: function () {},
+	onBeforeCompile: function ( /* shaderobject, renderer */ ) {},
 
 
 	setValues: function ( values ) {
 	setValues: function ( values ) {