# CS3D renders div textContent and binds it to webgl object

**URL:** <https://discourse.threejs.org/t/cs3d-renders-div-textcontent-and-binds-it-to-webgl-object/14490>\
**Category:** Questions\
**Tags:** loaders, materials\
**Created:** [April 21, 2020, 2:02pm UTC](https://discourse.threejs.org/t/cs3d-renders-div-textcontent-and-binds-it-to-webgl-object/14490 "2020-04-21T14:02:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 21, 2020, 2:26pm UTC](https://discourse.threejs.org/t/cs3d-renders-div-textcontent-and-binds-it-to-webgl-object/14490/2 "2020-04-21T14:26:23Z")

</div>

I’ve updated your code here: [https://jsfiddle.net/ux4ejgpf/](https://jsfiddle.net/ux4ejgpf/)

However, you will notice an inevitable side effect. The HTML text will always overlay the WebGL content. So there is not real depth sorting like in a pure WebGL scene.

---

_[View the full topic](https://discourse.threejs.org/t/cs3d-renders-div-textcontent-and-binds-it-to-webgl-object/14490)._
