添加关照、全局等高线、修改图层问题

This commit is contained in:
2025-07-17 18:54:05 +08:00
parent c781d38c0c
commit b274b62671
4594 changed files with 791769 additions and 4921 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 );