Files
Housekeeping-web-admin/node_modules/three/src/nodes/lighting/IrradianceNode.js
T
2026-06-24 09:48:54 +02:00

28 lines
320 B
JavaScript

import LightingNode from './LightingNode.js';
class IrradianceNode extends LightingNode {
static get type() {
return 'IrradianceNode';
}
constructor( node ) {
super();
this.node = node;
}
setup( builder ) {
builder.context.irradiance.addAssign( this.node );
}
}
export default IrradianceNode;