Browse Source

Fixed ClearPass.

Mr.doob 9 years ago
parent
commit
ae829cedac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/postprocessing/ClearPass.js

+ 1 - 1
examples/js/postprocessing/ClearPass.js

@@ -10,7 +10,7 @@ THREE.ClearPass = function () {
 
 };
 
-THREE.ClearPass.prototype = Object.assign( Object.create( THREE.Pass.prototype ),
+THREE.ClearPass.prototype = Object.assign( Object.create( THREE.Pass.prototype ), {
 
 	constructor: THREE.ClearPass,