Hello!
I'm Gustav and I work for the PlayCanvas team at Snap Inc. We have been debugging an issue for some time now and have come to the conclusion that the texelFetch and textureGrad operations fail on some devices with Adreno 610 or Adreno 618 GPUs. It may look like this:
We have a thread to the topic and produce multiple ways to reproduce the issue here: https://forum.playcanvas.com/t/strange-rendering-in-android-13/31622/17
By process of elimination, we found that replacing textureGrad with a normal texture2D call, and converting texelFetch to use texture2D with normalized coordinates fixed the issues we were seeing.
It doesn't seem to be an issue with the Android version, neither with the browser, seeing as the same issue happens with different browsers and multiple versions of Android.
Some of the devices that produce this issue are:
- Samsung A52
- Xaomi Redmi Note 8
- Xaomi Redmi Note 11
I haven't been able to confirm this happens on all Adreno 618 or 610 devices, but it seems consistent.
Thanks,
Gustav