Replies: 3 comments 1 reply
-
Looks like this is happening in threejs https://threejs.org/examples/#webgl_loader_texture_tga ( flipped in chrome vs firefox ) |
Beta Was this translation helpful? Give feedback.
-
I submitted an issue mrdoob/three.js#20132 |
Beta Was this translation helpful? Give feedback.
-
Ahh I see, interesting. In the meantime is there another loader I can use? TGALoader is the only one I was able to get working. If I use TextureLoader from base threejs with useLoader, it never finishes loading it. I'm also using , so with those the Suspense component never switches over. Edit: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
For some reason my textures are vertically flipped in Chrome. It looks fine in Firefox and Safari.
I'm loading the textures like this:
And then passing it down to the component:
I'm using a custom shader I wrote, so I tried flipping the UVs around and then it looks fine in Chrome, but looks flipped in Firefox/Safari. I can't figure out if it's something in the UVs or if the textures are flipped. I found various issues relating to three.js, but they seem to have been solved in 103, and I'm using the latest. I have it currently live here: Live Link and on Github here: Github Link
I'd appreciate any assistance
Beta Was this translation helpful? Give feedback.
All reactions