Skip to content

Commit ee1eb30

Browse files
committed
fix set uniform value
1 parent 6b99b9f commit ee1eb30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/common/extras/PMREMGenerator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ class PMREMGenerator {
622622
blurMesh.material = blurMaterial;
623623

624624
targetIn.texture.frame = ( targetIn.texture.frame || 0 ) + 1;
625-
blurMaterial._envMap = targetIn.texture
625+
blurMaterial._envMap.value = targetIn.texture
626626

627627
const { _lodMax } = this;
628628
const {radiansPerPixel, samples, weights}=getBlurParams(sigmaRadians, this._sizeLods[ lodIn ] - 1, MAX_SAMPLES);

0 commit comments

Comments
 (0)