I have a three js application that lets you view environments/360 photos, however when I map textures to “EquirectangularReflectionMapping” it will crash on mobile devices. If I don’t do this it runs fine otherwise. Any insights on this?
I think that’s unexpected and possibly a bug. Just curious, what’s the resolution of the texture? I might suggest filing an issue on GitHub with the texture and code repro if possible, and the names/models of affected mobile devices you’re aware of.
As it turns out, it seems to have been the “opening” texture that crashed pretty much every mobile device I tried. And I just realized that texture was 14000x7000 compared to the 5952x2976 textures that are used everywhere else.
Ah ok! Yes, I’d expect issues on mobile devices once you start using texture resolution >4096x4096px. On some lower-end mobile devices 2048x2048px would be safer. If you’re short on VRAM, consider using Basis Universal / KTX2 or other compressed texture formats to reduce memory cost.