I tried depth texture implementation of the example from threejs.org on my local machine. https://github.com/mrdoob/three.js/blob/400acd3c78c8e631087322eb1e0e9fc00a16b375/examples/webgl_depth_texture.html
However I am not getting the same output screen, rather a blank screen.
jsfiddle link of the implementation : https://jsfiddle.net/MrOrangeSky/L48vj3hx/8/
I can’t find the reason for same.