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
Implement WEBGL_depth_texture extension #22796
Comments
Right now https://threejs.org/examples/webgl_depth_texture.html doesn't run in Servo. To implement the missing extension, we need to:
If everything goes correctly, there should be more passing tests in |
I've created the new extension implementation following the webglcolorbufferfloat.rs file. For the new data types, if the idl contained |
You will need to use |
This extension is used in lots of cables.gl content like https://holon.drastic.net/view/moron/ and https://cables.gl/p/9CHVn1. |
We will need to expose this extension's behaviour by default in webgl2 as well. |
Playing around with trying to implement this at https://github.com/jdm/servo/tree/depth-texture. texImage2D and framebufferTexture2D no longer trigger WebGL errors, but the actual pixel tests are still failing. |
https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_depth_texture
The text was updated successfully, but these errors were encountered: