Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CubeTexture bug? #159

Open
wxfred opened this issue Aug 29, 2022 · 1 comment
Open

CubeTexture bug? #159

wxfred opened this issue Aug 29, 2022 · 1 comment

Comments

@wxfred
Copy link

wxfred commented Aug 29, 2022

<Box :scale="{ x: 1, y: 1, z: -1 }">
  <BasicMaterial :props="{
    side: THREE.BackSide,
  }">
    <CubeTexture :path="''" :urls="['left.jpg', 'right.jpg', 'up.jpg', 'down.jpg', 'front.jpg', 'back.jpg']" />
  </BasicMaterial>
</Box>

up.jpg and down.jpg are swapped, and all the images are left and right reversed (set scale.z to -1 is not work).

Could you please to provide a valid cubetexture demo, thx.

@benoitlahoz
Copy link

I have the same issue here, with Three.js example textures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants