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
Error displaying Depth Texture sample on WebGL 2 compatible browser #10672
Comments
We need to update
https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ @mrdoob |
Actually, I think we should remove all the |
Cool! Are we gonna get workable If not, I think we need a workaround to this issue so far.
three.js/examples/webgl_depth_texture.html Line 130 in 399d806
|
@mrdoob |
I'm confused... If the browser supports WebGL 2, |
To be more precise, depending not on the browser, but on context. If we use webgl2 context https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_depth_texture three.js/examples/webgl_depth_texture.html Line 116 in 399d806
https://github.com/mrdoob/three.js/blob/dev/src/renderers/WebGLRenderer.js#L2895 |
Ah! I see I see. |
Fixed! |
Description of the problem
I tried to display the following sample on the WebGL 2 compatible browser (Chrome 56 and Firefox 51), but an error was displayed.
https://threejs.org/examples/webgl_depth_texture.html
When you disable WebGL 2, samples are displayed.
Is it a problem of sample check processing?
Three.js version
Browser
OS
Hardware Requirements (graphics card, VR Device, ...)
ThinkPad X260 + Intel(R) HD Graphics 520
The text was updated successfully, but these errors were encountered: