修改静态资源文件夹位置

This commit is contained in:
Teo
2025-07-29 09:37:57 +08:00
parent ed996ee7f4
commit daff686afc
1465 changed files with 11 additions and 4 deletions

View File

@ -0,0 +1,27 @@
import LightingNode from './LightingNode.js';
import { addNodeClass } from '../core/Node.js';
class AONode extends LightingNode {
constructor( aoNode = null ) {
super();
this.aoNode = aoNode;
}
setup( builder ) {
const aoIntensity = 1;
const aoNode = this.aoNode.x.sub( 1.0 ).mul( aoIntensity ).add( 1.0 );
builder.context.ambientOcclusion.mulAssign( aoNode );
}
}
export default AONode;
addNodeClass( 'AONode', AONode );