Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeMaterial: Add setupOutgoingLight(). #28941

Merged
merged 5 commits into from
Jul 23, 2024
Prev Previous commit
add builder as parameter for optional usage
  • Loading branch information
sunag committed Jul 23, 2024
commit 8008ea2001aba62eb72822d5943323b6af25a6d9
2 changes: 1 addition & 1 deletion src/nodes/materials/NodeMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ class NodeMaterial extends Material {

const lightsNode = lights ? this.setupLights( builder ) : null;

let outgoingLightNode = this.setupOutgoingLight();
let outgoingLightNode = this.setupOutgoingLight( builder );

if ( lightsNode && lightsNode.hasLight !== false ) {

Expand Down