diff --git a/src/materials/Material.ts b/src/materials/Material.ts index f2270f3..5e15b2b 100644 --- a/src/materials/Material.ts +++ b/src/materials/Material.ts @@ -61,7 +61,7 @@ const BaseMaterial = defineComponent({ material.needsUpdate = needsUpdate }, setTexture(texture: Texture | null, key = 'map') { - this.setProp(this, key, texture, true) + this.setProp(this.material, key, texture, true) }, }, render() {