pmndrs / drei

🥉 useful helpers for react-three-fiber
https://docs.pmnd.rs/drei
MIT License
8.39k stars 701 forks source link

MeshRefractionMaterial doesn't render with android mobile #1614

Closed francoisbonnard closed 6 days ago

francoisbonnard commented 1 year ago

dependencies

"@react-spring/three": "^9.7.3",
"@react-three/drei": "9.75.0",
"@react-three/fiber": "8.13.3",

"vite": "^4.1.0"

Chrome 115.0.5790.166 Android 10

Problem description:

as you can see in this url, 2 objects are missing in android mobile version (the star and the diamond) as they use MeshRefractionMaterial

Relevant code:

    const texture = useTexture("./textures/surreal_scary_mountains.jpg")

          <MeshRefractionMaterial
            bounces={1}
            aberrationStrength={0.01}
            envMap={texture}
            toneMapped={false}
          />

Suggested solution:

None

CodyJasonBennett commented 1 year ago

Which devices have you tested on? This is very device/GPU specific, but could be a wider issue with software limits which we can address shortly.

francoisbonnard commented 1 year ago

Mi 10T Lite CPU Octa-code Max 2.2Bhz

Twonarly1 commented 1 year ago

I am having issues on my device as well.

device: Samsung Galaxy S20 FE 5G GPU: Adreno 650

SPECS: https://www.gsmarena.com/samsung_galaxy_s20_fe_5g-10377.php

shaynendradika commented 12 months ago

I got the same problem, the diamond that using MeshRefractionMaterial isn't rendered in my android phone, but other object such as Ring (the Ring doesn't use MeshRefractionMaterial) is rendered. I've tried using different browser, but the problem occur. However it's working well in PC and Android 13+ (Xiaomi POCO M3 Pro).

Device: Samsung Galaxy A52s 5G (Android 12) Log: android-console-log.log

a18a commented 11 months ago

Running into the same issue.

Device: Nothing Phone (2) android phone Specs: Snapdragon® 8+ Gen 1 | GPU Adreno 730 OS: Android 13

coopbri commented 10 months ago

Same issue on Galaxy A54

Appears to be a ubiquitous Android issue

lyonelpierce commented 10 months ago

Same issue galaxy s23 ultra

CodyJasonBennett commented 10 months ago

I can reproduce on my Pixel 3a. Will try to update three-mesh-bvh since we've caught a myriad of device issues there.

image
github-actions[bot] commented 1 week ago

Thank you for contributing! We’re marking this issue as stale as a gentle reminder to revisit it and give it the attention it needs to move forward.

Any activity, like adding an update or comment, will automatically remove the stale label so it stays on our radar.

Feel free to reach out on Discord if you need support or feedback from the community. This issue will close automatically soon if there’s no further activity. Thank you for understanding and for being part of the project!

github-actions[bot] commented 6 days ago

We’re closing this issue to keep our project manageable and make room for other active work, but we truly appreciate your effort and contribution.

If you’d like to continue working on this, please feel free to re-open it or reach out on Discord — our community is always ready to support you. Thanks again for helping us stay organized and for understanding our approach!