Browse Source

HemisphereLightNode: Fix construct() call (#26441)

sunag 2 years ago
parent
commit
3a21afde31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/nodes/lighting/HemisphereLightNode.js

+ 1 - 1
examples/jsm/nodes/lighting/HemisphereLightNode.js

@@ -33,7 +33,7 @@ class HemisphereLightNode extends AnalyticLightNode {
 
 	}
 
-	generate( builder ) {
+	construct( builder ) {
 
 		const { colorNode, groundColorNode, lightDirectionNode } = this;