All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

three.js on Android: will I need to run a local webserver in my android application?

I am working on a WebGL app developed with three.js. When I test this app on my computer, I need to run a local server as mentioned here. When I will run my three.js/WebGL app in a webview of my app, ...
0
votes
0answers
50 views

Caching Three.js pages offline on mobile in Reading List

I created some simple Three.js model viewers and apps for our sales team to show at events. Often there is no wifi or internet and they are using iPads or iPhones to show these web pages. At first, we ...
0
votes
0answers
61 views

How do I display a simple Three JS webpage using Android WebView?

I am trying to display a simple three.js webpage on my Android device. This is what I've tried till now: public class MainActivity extends AppCompatActivity { Context context; @Override protected ...
0
votes
1answer
140 views

Why do WebGL fragment shaders slow down over time on mobile?

I cannot find any WebGL fragment shader that will maintain 60fps in a mobile browser. They will run smoothly at first, but over the course of a few minutes will inexorably slow and stutter. Here's a ...
0
votes
1answer
389 views

Huge delay using readRenderTargetPixels() on Chrome Android, with a second depth camera - full demo

This is obviously a call to WEBGL-Gurus out there: I'm rendering to a 2x2 pixel resolution with a second depth camera, but I'm reading only a single pixel. I have tried: renderer....
0
votes
2answers
95 views

Android, WebGL in WebView : 'Uncaught ReferenceError: mat4 is not defined'

I am trying to display this WebGL demo in an Android WebView. It works perfectly well locally on my computer but not in my Android demo app. My Android demo app is just an activity with a WebView ; I ...
0
votes
1answer
479 views

Unable to initialize WebGL in Android Instant Game ("WebGL1 blacklisted")

I'm developing an android instant game utilising a WebView (wrapped with Cordova). The game works well in a browser, and also as an installed app, and even through a WebView inside Facebook Messenger. ...
1
vote
1answer
392 views

Vertex shader artifacts with WebGL on Android

I'm rendering a geometry in WebGL and am getting different results on Chrome for Android (unwanted artifacts, left) and Chrome for Windows (right): I've tried: using WebGL2 and WebGL contexts using ...
0
votes
1answer
114 views

Three.js use VideoTexture on Android Wechat

VideoTexture is not available on Android WeChat, the video can be played, but the material is still black, I tried the Android native browser and it is normal. How to solve this problem, or what ...
2
votes
1answer
817 views

React Native + WebView + android emulator, WebGL support

I'm trying to make React Native app with using WebGL (actually, Cesium lib if it matters) in WebView component. I've written a little app to test WebGL support: simple WebView (react-native-webview) ...
0
votes
0answers
425 views

Cordova - WebGL works fine on phone but not on emulator [Without CrossWalk]

I am trying to build an application with CesiumJs.org, The files work fine on both chrome, android phone with v8 and android phone with v9 all works fine. When I try the same APK on Bluestack, ...
5
votes
0answers
273 views

Profile WebGL page on Android

How can I profile a 3D web page (WebGL) on Android? I was able to successfully connect remotely using Google Chrome Developer Tools and I can see the JavaScript time spent, but it seems the page ...
1
vote
2answers
565 views

Three.js slow on phone's vertical screen

I have this codepen that I made into a website. My problem is that it performs really slowly on the Chrome browser on my Nexus 5X phone, but when I rotate the screen to horizontal view or when I view ...
3
votes
1answer
829 views

WebGL video texture size limits on android - how to use 3840 * 2160?

I am developing a WebGL application that gets a stream of textures from HTML5 video, using HLS.js. It's working great on desktop, and it's working for 1920 * 1080 video on mobile Android, but not for ...
0
votes
1answer
544 views

Android - Xwalk crash after Oreo migration

I want to make some changes to an application targeting Android SDK 22 (5.1). I loaded the project in Android Studio 3, got the Gradle upgrade message. Of course, doing that makes the whole thing ...

15 30 50 per page
1
2 3 4 5 6