Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement 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