# ShaderMaterial depth information lost

**URL:** <https://discourse.threejs.org/t/shadermaterial-depth-information-lost/63944>\
**Category:** Questions\
**Tags:** webgl-renderer, shaders\
**Created:** [April 11, 2024, 4:43am UTC](https://discourse.threejs.org/t/shadermaterial-depth-information-lost/63944 "2024-04-11T04:43:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![michealmyers81](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/michealmyers81/32/35656_2.png) [@michealmyers81](https://discourse.threejs.org/u/michealmyers81)\
**Post date:** [April 11, 2024, 7:16am UTC](https://discourse.threejs.org/t/shadermaterial-depth-information-lost/63944/3 "2024-04-11T07:16:02Z")

</div>

couldn’t sleep. Did some digging and found a direct solution. [shaderMaterial: render-order with logarithmicDepthBuffer is wrong - #3 by berkaycirak](https://discourse.threejs.org/t/shadermaterial-render-order-with-logarithmicdepthbuffer-is-wrong/49221/3)

---

_[View the full topic](https://discourse.threejs.org/t/shadermaterial-depth-information-lost/63944)._
