# what is max depth???

**URL:** <https://forums.chaos.com/t/what-is-max-depth/2090>\
**Category:** General\
**Created:** [November 14, 2003, 10:24pm UTC](https://forums.chaos.com/t/what-is-max-depth/2090 "2003-11-14T22:24:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![freak](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@freak](https://forums.chaos.com/u/freak)\
**Post date:** [November 14, 2003, 10:24pm UTC](https://forums.chaos.com/t/what-is-max-depth/2090/1 "2003-11-14T22:24:24Z")

</div>

what is max depth in the vraymtl?? which by default is set to 5…

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [November 14, 2003, 10:59pm UTC](https://forums.chaos.com/t/what-is-max-depth/2090/2 "2003-11-14T22:59:45Z")

</div>

max depth is used to limited the maximum amount of times that rays/light bounce around the inside of an object.

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [November 15, 2003, 2:19am UTC](https://forums.chaos.com/t/what-is-max-depth/2090/3 "2003-11-15T02:19:10Z")

</div>

Also with reflections it is the number of times the reflection will “bounce” between two objects.

---

<div class="post-metadata">

**Author:** ![freak](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@freak](https://forums.chaos.com/u/freak)\
**Post date:** [November 15, 2003, 2:20am UTC](https://forums.chaos.com/t/what-is-max-depth/2090/4 "2003-11-15T02:20:31Z")

</div>

well what is it for?? metal material??? plastic??? what’s the advantage of it???

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [November 15, 2003, 2:29am UTC](https://forums.chaos.com/t/what-is-max-depth/2090/5 "2003-11-15T02:29:48Z")

</div>

Try this, take two mirrors, face them to each other, what you see is an infinite number of bounces, so the closer to reality you want to render the more bounces you want. Less bounces = faster render.

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [November 15, 2003, 5:49am UTC](https://forums.chaos.com/t/what-is-max-depth/2090/6 "2003-11-15T05:49:56Z")

</div>

it would only be effective on materials that area either reflective, refractive or absorbive (if thats a word), in other words, mirrors, metals, glasses, clear plastics & wax it name a few.

---

<div class="post-metadata">

**Author:** ![freak](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@freak](https://forums.chaos.com/u/freak)\
**Post date:** [November 15, 2003, 6:46am UTC](https://forums.chaos.com/t/what-is-max-depth/2090/7 "2003-11-15T06:46:27Z")

</div>

well, what sorta mtl YOU use it for??? when do you use it?? does it make the reflection dimmer if it’s set to 2 instead of 5???

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [November 15, 2003, 7:22am UTC](https://forums.chaos.com/t/what-is-max-depth/2090/8 "2003-11-15T07:22:38Z")

</div>

really you would never need to worry about. I have never found a need to change it. so you may as well just leave it off.

It doesnt make the reflection dimmer, just that after the rays hit the depth they just show up as the color that is chosen.

---

<div class="post-metadata">

**Author:** ![freak](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@freak](https://forums.chaos.com/u/freak)\
**Post date:** [November 15, 2003, 9:15pm UTC](https://forums.chaos.com/t/what-is-max-depth/2090/9 "2003-11-15T21:15:09Z")

</div>

thx alot guys…

---

<div class="post-metadata">

**Author:** ![Greg3D](https://avatars.discourse-cdn.com/v4/letter/g/a88e4f/32.png) [@Greg3D](https://forums.chaos.com/u/Greg3D)\
**Post date:** [November 16, 2003, 8:01pm UTC](https://forums.chaos.com/t/what-is-max-depth/2090/10 "2003-11-16T20:01:01Z")

</div>

For refractive objects, depending on their complexity you will have to increase the Max Depth to get rid of areas that render black. If the depth is too low, you don’t have enough ray bounces to accurately render all the various levels of refraction through the glass. Change the Exit color to a bright Red, lower the depth to 1 or 2, and render it on some complex (not just a sphere) geometry.

You will see that parts of it render RED. Thats because the exit color is being placed where there are not enough rays to trace the refraction properly because of such a low Max Depth.

5 as a default is way too low for anything other than simple objects…and usually why many people have problems rendering glassware without the black edges.

---

<div class="post-metadata">

**Author:** ![freak](https://avatars.discourse-cdn.com/v4/letter/f/71e660/32.png) [@freak](https://forums.chaos.com/u/freak)\
**Post date:** [November 16, 2003, 8:30pm UTC](https://forums.chaos.com/t/what-is-max-depth/2090/11 "2003-11-16T20:30:47Z")

</div>

thx dude…very good explanation…i understand it now
