-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postprocessing examples stopped working on Fairphone 2.0 (Adreno 330) #15633
Comments
What mobile device and what version of mobile Chrome and Android are you using? Does it also happen with Firefox? |
Hi @Mugen87 Chrome 71.0.3578.99 running on a Fairphone 2.0 with Android 7.1.2 I also tried Firefox and I've got the same black screen result |
Sorry, I just closed the issue by mistake... |
I have to check it again, but some weeks ago I had the same problem with an iphone. Will check later. |
In case it helps to understand the problem, in this example I can see the backgrounds, but the heads are black: |
Um, it's not the first time that users report problems in context of Adreno 300 GPUs, see #9988 (your Fairphone 2.0 has a Adreno 330 GPU). If this is actually a similar device/driver issue, there will be most likely no fix.
Maybe the problems were introduced with a system update (which also updates the graphics driver)? |
Thanks @Mugen87 Indeed that could be the problem. I will investigate a bit. I'm quite sure the examples were running fine in previous three js versions. I will test it and if the problem persists with older versions then the graphics driver update is probably the reason. |
Hi again, I tested the example with older versions of three.js and the problem persists. It's most probably related with the update to Android 7 that took place last November: I found this issue which indicates that OpenGL 3.0 is not enabled in that particular Android version: Thank you for help with this. If you come to Munich one day I buy you a beer! |
Finally! After reading your comments in #14137 i tried the proposed solution: and it worked nicely for me :) It seems that the software update from Android 6 to 7 created the problem, but switching my THREE.MeshPhongMaterial to mediump resolved it. My postprocessing examples now work fine: Thank you everybody for your help! |
@Mugen87 I guess it's worth testing what post processing shaders could work as mediump? |
Yes. But desktops automatically use Does not work:
Does work:
It seems quite a bit of work to ensure that certain shaders also work with |
Interesting. I have analyzed the dot-screen shader of I have create a new test case based on I wonder if we should create a new issue. Something like: |
So it seems the article does not help in context of |
Um, I've research this afternoon for a solution. Unfortunately, I found only these two approaches that would work for mobile devices (assuming
I found no resource that demonstrates how to use |
Some of the postprocessing examples stopped working on my mobile.
For example, this example only shows a black screen:
https://threejs.org/examples/?q=pos#webgl_postprocessing
I had a look at the console output and I get some warnings, but I don't know if that's the problem, because the same example was working some months ago:
THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.
THREE.WebGLRenderer: ANGLE_instanced_arrays extension not supported.
THREE.WebGLRenderer: OES_texture_float_linear extension not supported.
Three.js version
Browser
OS
The text was updated successfully, but these errors were encountered: