添加关照、全局等高线、修改图层问题
This commit is contained in:
15
static/sdk/three/jsm/renderers/common/nodes/NodeSampler.js
Normal file
15
static/sdk/three/jsm/renderers/common/nodes/NodeSampler.js
Normal file
@ -0,0 +1,15 @@
|
||||
import Sampler from '../Sampler.js';
|
||||
|
||||
class NodeSampler extends Sampler {
|
||||
|
||||
constructor( name, textureNode ) {
|
||||
|
||||
super( name, textureNode ? textureNode.value : null );
|
||||
|
||||
this.textureNode = textureNode;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default NodeSampler;
|
Reference in New Issue
Block a user