nanobot-voice-interface/frontend/node_modules/three/examples/jsm/nodes/lighting/IrradianceNode.js
2026-03-06 22:51:19 -05:00

24 lines
365 B
JavaScript

import LightingNode from './LightingNode.js';
import { addNodeClass } from '../core/Node.js';
class IrradianceNode extends LightingNode {
constructor( node ) {
super();
this.node = node;
}
setup( builder ) {
builder.context.irradiance.addAssign( this.node );
}
}
export default IrradianceNode;
addNodeClass( 'IrradianceNode', IrradianceNode );