Closed tsherif closed 7 years ago
A sample of how to use depth textures.
I think this would be useful since it works a bit differently in WebGL 2 than WebGL 1 + WEBGL_depth_texture, and the proper texture format combinations aren't mentioned in the WebGL 2 spec (had to go to the ES3 reference pages to find them.)
A sample of how to use depth textures.
I think this would be useful since it works a bit differently in WebGL 2 than WebGL 1 + WEBGL_depth_texture, and the proper texture format combinations aren't mentioned in the WebGL 2 spec (had to go to the ES3 reference pages to find them.)