# useBackground Shader in maya 6

**URL:** https://forum.highend3d.com/t/usebackground-shader-in-maya-6/46392
**Category:** Maya
**Tags:** mental-ray
**Created:** [July 1, 2004, 5:21am UTC](https://forum.highend3d.com/t/usebackground-shader-in-maya-6/46392 "2004-07-01T05:21:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tsrah](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/b3f665/32.png) [@tsrah](https://forum.highend3d.com/u/tsrah)
#### Post date: [July 1, 2004, 5:21am UTC](https://forum.highend3d.com/t/usebackground-shader-in-maya-6/46392/1 "2004-07-01T05:21:40Z")

</div>

Hi People,

As you would have noticed, maya’s useBackground shader is now renderable with Mental Ray for Maya. The problem though is that I can’t get a final gathered shadow to appear, but only and direct shadow from a light source.

Anyone know of a workaround?

B

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [July 1, 2004, 6:12am UTC](https://forum.highend3d.com/t/usebackground-shader-in-maya-6/46392/2 "2004-07-01T06:12:09Z")

</div>

Apply a white shader to everything then apply the render in composite with a darken mode. The use Background shader only works with Depth map shadows

---

<div class="post-metadata">

### Author: ![tsrah](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/b3f665/32.png) [@tsrah](https://forum.highend3d.com/u/tsrah)
#### Post date: [July 1, 2004, 6:50am UTC](https://forum.highend3d.com/t/usebackground-shader-in-maya-6/46392/3 "2004-07-01T06:50:15Z")

</div>

But if you apply just a white shader such as a lambert , you’ll be getting variations in colour away from the shadow that you want. The white shader needs to be a surface shader of sorts that is still able to capture final gathered shadows.

Any ideas?

B

---

<div class="post-metadata">

### Author: ![gmask](https://forum.highend3d.com/user_avatar/forum.highend3d.com/gmask/32/192_2.png) [@gmask](https://forum.highend3d.com/u/gmask)
#### Post date: [July 1, 2004, 6:58am UTC](https://forum.highend3d.com/t/usebackground-shader-in-maya-6/46392/4 "2004-07-01T06:58:53Z")

</div>

Then give it a slight ambient instead of diffuse…I can’t say that I have fullky tested this..
