first commit

This commit is contained in:
2025-08-19 10:19:29 +08:00
commit 3b61e84a7f
3014 changed files with 2640574 additions and 0 deletions

View File

@ -0,0 +1,39 @@
import NodeMaterial, { addNodeMaterial } from './NodeMaterial.js';
import { PointsMaterial } from 'three';
const defaultValues = new PointsMaterial();
class PointsNodeMaterial extends NodeMaterial {
constructor( parameters ) {
super();
this.isPointsNodeMaterial = true;
this.lights = false;
this.normals = false;
this.transparent = true;
this.sizeNode = null;
this.setDefaultValues( defaultValues );
this.setValues( parameters );
}
copy( source ) {
this.sizeNode = source.sizeNode;
return super.copy( source );
}
}
export default PointsNodeMaterial;
addNodeMaterial( 'PointsNodeMaterial', PointsNodeMaterial );