nanobot-voice-interface/frontend/node_modules/three/examples/jsm/nodes/lighting/IrradianceNode.js

25 lines
365 B
JavaScript
Raw Normal View History

2026-03-06 22:51:19 -05:00
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 );