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

28 lines
317 B
JavaScript

import LightingNode from './LightingNode.js';
class AONode extends LightingNode {
static get type() {
return 'AONode';
}
constructor( aoNode = null ) {
super();
this.aoNode = aoNode;
}
setup( builder ) {
builder.context.ambientOcclusion.mulAssign( this.aoNode );
}
}
export default AONode;