# DepthTexture: Blank Screen while implementing it

**URL:** <https://discourse.threejs.org/t/depthtexture-blank-screen-while-implementing-it/15742>\
**Category:** Questions\
**Tags:** depth-texture\
**Created:** [May 30, 2020, 2:13pm UTC](https://discourse.threejs.org/t/depthtexture-blank-screen-while-implementing-it/15742 "2020-05-30T14:13:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrOrangeSky](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@MrOrangeSky](https://discourse.threejs.org/u/MrOrangeSky)\
**Post date:** [May 30, 2020, 2:13pm UTC](https://discourse.threejs.org/t/depthtexture-blank-screen-while-implementing-it/15742/1 "2020-05-30T14:13:54Z")

</div>

I tried depth texture implementation of the example from [threejs.org](http://threejs.org) on my local machine. [https://github.com/mrdoob/three.js/blob/400acd3c78c8e631087322eb1e0e9fc00a16b375/examples/webgl\_depth\_texture.html](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/](https://jsfiddle.net/MrOrangeSky/L48vj3hx/8/)

I can’t find the reason for same.

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [May 30, 2020, 2:51pm UTC](https://discourse.threejs.org/t/depthtexture-blank-screen-while-implementing-it/15742/2 "2020-05-30T14:51:01Z")

</div>

If you copy code from the examples, you have to make sure to use the same `three.js` version. By updating your library files from `r101.1` to `r117.1`, the demo works as expected.

[https://jsfiddle.net/1gp3kf8n/](https://jsfiddle.net/1gp3kf8n/)

---

<div class="post-metadata">

**Author:** ![MrOrangeSky](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@MrOrangeSky](https://discourse.threejs.org/u/MrOrangeSky)\
**Post date:** [May 30, 2020, 7:26pm UTC](https://discourse.threejs.org/t/depthtexture-blank-screen-while-implementing-it/15742/3 "2020-05-30T19:26:32Z")

</div>

ok, Thank you !
