WebGLSamples / WebGL2Samples

Short and easy to understand samples demonstrating WebGL 2 features
Other
1.01k stars 143 forks source link

Depth texture #144

Closed tsherif closed 7 years ago

tsherif commented 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.)