preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
24
frontend/node_modules/three/examples/jsm/nodes/lighting/IrradianceNode.js
generated
vendored
Normal file
24
frontend/node_modules/three/examples/jsm/nodes/lighting/IrradianceNode.js
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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 );
|
||||
Loading…
Add table
Add a link
Reference in a new issue