Initial commit
This commit is contained in:
15
node_modules/three/examples/jsm/renderers/common/nodes/NodeSampler.js
generated
vendored
Normal file
15
node_modules/three/examples/jsm/renderers/common/nodes/NodeSampler.js
generated
vendored
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