kalisio / kano

Map and weather forecast data explorer in 2D/3D
https://kalisio.github.io/kano/
MIT License
24 stars 7 forks source link

WebGL based weather layers are not rendered on mobile devices #185

Closed cnouguier closed 3 years ago

robinbourianes-kalisio commented 3 years ago

Tracking down the issue, it seems it's because our version of pixi (5.0.4) prefers a webgl1 context on non apple mobile devices: see https://github.com/pixijs/pixijs/blob/v5.0.4/packages/core/src/settings.js#L12

robinbourianes-kalisio commented 3 years ago

The bug report the pixi code refers to has been fixed around april 2019 so I think we should override this settings and allow webgl2 on mobile devices too now.

robinbourianes-kalisio commented 3 years ago

Seems to work now at least with latest firefox & chrome on an android phone. @cnouguier which browser were you using using when you noticed the bug ? Could you test on your side too ?