You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Today I detected a problem on Firefox for Android 50.1.0 and Firefox for Android 51 Beta. If I switch on renderer.capabilities.logarithmicDepthBuffer= true; the scene fails to load due to a shader compilation error. Here is a gist with the console messages from a remote debugging session.
Here is a jsfiddle which fails on Firefox for Android, but Chrome for Android 55.0.2883.91 seems to work fine.
Here is a jsfiddle which works on Firefox for Android. All that is different is renderer.capabilities.logarithmicDepthBuffer= false;.
Ohm... I don't think renderer.capabilities.logarithmicDepthBuffer shouldn't be changed at runtime. You should pass the flag in the constructor instead:
Hello,
The first link https://jsfiddle.net/6hLgnqke/2/ still had the issue, since logarithmicDepthBuffer = true. I haven't had a chance to check the console output, but did a remote debugging session which yielded very similar results as the previous dump. The result on firefox for android is the same, the scene does not show up.
Ohm... I don't think renderer.capabilities.logarithmicDepthBuffer shouldn't be changed at runtime.
Fair enough. I was attempting a workaround for this issue in my particular case. I can modify my code to define the render after I know enough information to decide if the renderer should use logarithmic depth buffer or not. All that being said, it does not change the fact that logarithmicDepthBuffer: true causes shader compile errors on Firefox for Android in both cases described in this issue.
I'm unable to reproduce with latest Firefox 61 on Android 8.1. In any event, bugs like this should be directly reported to https://bugzilla.mozilla.org/
Description of the problem
Hello! Today I detected a problem on Firefox for Android 50.1.0 and Firefox for Android 51 Beta. If I switch on
renderer.capabilities.logarithmicDepthBuffer= true;
the scene fails to load due to a shader compilation error. Here is a gist with the console messages from a remote debugging session.Here is a jsfiddle which fails on Firefox for Android, but Chrome for Android 55.0.2883.91 seems to work fine.
Here is a jsfiddle which works on Firefox for Android. All that is different is
renderer.capabilities.logarithmicDepthBuffer= false;
.This was tested on a BQ androidone and Huawei P9.
Three.js version
Browser
OS
Hardware Requirements (graphics card, VR Device, ...)
The text was updated successfully, but these errors were encountered: