We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494173b commit 5a6c9e1Copy full SHA for 5a6c9e1
2 files changed
examples/jsm/renderers/common/Bindings.js
@@ -122,6 +122,10 @@ class Bindings extends DataMap {
122
123
}
124
125
+ } else if ( binding.isSampler ) {
126
+
127
+ binding.update();
128
129
} else if ( binding.isSampledTexture ) {
130
131
const texture = binding.texture;
examples/jsm/renderers/common/nodes/NodeSampler.js
@@ -10,6 +10,12 @@ class NodeSampler extends Sampler {
10
11
12
13
+ update() {
14
15
+ this.texture = this.textureNode.value;
16
17
+ }
18
19
20
21
export default NodeSampler;
0 commit comments