|
@@ -564,7 +564,7 @@ class TextureNode extends UniformNode {
|
|
|
|
|
|
|
|
const map = textureNode.value;
|
|
const map = textureNode.value;
|
|
|
|
|
|
|
|
- if ( map && map.generateMipmaps === false || map.minFilter === NearestFilter || map.magFilter === NearestFilter ) {
|
|
|
|
|
|
|
+ if ( textureNode.generateMipmaps === false && ( map && map.generateMipmaps === false || map.minFilter === NearestFilter || map.magFilter === NearestFilter ) ) {
|
|
|
|
|
|
|
|
console.warn( 'THREE.TSL: texture().blur() requires mipmaps and sampling. Use .generateMipmaps=true and .minFilter/.magFilter=THREE.LinearFilter in the Texture.' );
|
|
console.warn( 'THREE.TSL: texture().blur() requires mipmaps and sampling. Use .generateMipmaps=true and .minFilter/.magFilter=THREE.LinearFilter in the Texture.' );
|
|
|
|
|
|