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 934d6e2 commit c6c2070Copy full SHA for c6c2070
packages/fiber/src/native/polyfills.ts
@@ -34,6 +34,8 @@ export function polyfills() {
34
// There's no Image in native, so create a data texture instead
35
const prevTextureLoad = THREE.TextureLoader.prototype.load
36
THREE.TextureLoader.prototype.load = function load(url, onLoad, onProgress, onError) {
37
+ if (this.path) url = this.path + url
38
+
39
const texture = new THREE.Texture()
40
41
// @ts-ignore
0 commit comments