# Max Depth is on by default.

**URL:** <https://forums.chaos.com/t/max-depth-is-on-by-default/18280>\
**Category:** Issues\
**Created:** [May 30, 2008, 10:04pm UTC](https://forums.chaos.com/t/max-depth-is-on-by-default/18280 "2008-05-30T22:04:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngrava](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@ngrava](https://forums.chaos.com/u/ngrava)\
**Post date:** [May 30, 2008, 10:04pm UTC](https://forums.chaos.com/t/max-depth-is-on-by-default/18280/1 "2008-05-30T22:04:46Z")

</div>

Hey Vlado,

We keep having these scenes where we are using refraction but we always see black where it shouldn’t be. I initially thought that if you set the max depth in the material it would get rid of this. However, there is a but where the Max depth in the render panel is overriding the one in the material. To make matters worse, the check box is not on by default so there is no way to know that that is what the issue is. We happened across this on accident.

Thanks for your time!

-=GB=-

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [May 31, 2008, 6:37pm UTC](https://forums.chaos.com/t/max-depth-is-on-by-default/18280/2 "2008-05-31T18:37:23Z")

</div>

Hmm, I see your point, but I don’t quite see what the solution for this would be?

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![Aldaryn](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/aldaryn/32/26425_2.png) [@Aldaryn](https://forums.chaos.com/u/Aldaryn)\
**Post date:** [June 1, 2008, 4:39am UTC](https://forums.chaos.com/t/max-depth-is-on-by-default/18280/3 "2008-06-01T04:39:13Z")

</div>

I don’t think it would be wise and efficient to force all shaders vie a global setting to trace up to a specified maximum depth, since most of the time you only need more than the defaults for several dielectrics in your scene. Maybe if the reflection/refraction would be separated.  
Creating a prepass, or something else to determine the max needed depth before a certain user specified treshold might be just too much fork for too little gain imo.

Best regards,  
A.
