expo / expo-three

Utilities for using THREE.js on Expo
MIT License
738 stars 89 forks source link

loadCubeTextureAsync results in weird striped texture #162

Closed marikka closed 4 years ago

marikka commented 4 years ago

I'm trying to use loadCubeTextureAsync to load and create a CubeTexture, to use for my scene.background. The texture seems to load, but the result is a weird striped texture. This happens both on iOS and Android

Is loadCubeTextureAsync known to work? It's not documented in the readme.

Is there another (better) way to create/use CubeTextures?

Here's a link to the breaking code: https://github.com/marikka/expo-three-cubemap/blob/master/App.tsx image_from_ios

timnlupo commented 4 years ago

Same here

santiagofm commented 4 years ago

@marikka @timnlupo Did you guys find a solution to this issue?

santiagofm commented 4 years ago

Well, found the solution on another issue!

https://github.com/expo/expo-three/issues/138#issuecomment-602343377