Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Shadow/matte material

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
Anonymous
2504 Views, 10 Replies

Shadow/matte material

With Mental Ray I could use a ground plane assigned with a matte/shadow material to render shadows under the model. I could save as a .png with transparency on and the HDRI would disappear from the background leaving the shadows coloured black. With Arnold the shadows aren't black, they are the same colour as the HDRI background. How can I make them black?

Labels (4)
10 REPLIES 10
Message 2 of 11
michiel.van.gasse
in reply to: Anonymous

Create a shadow matte map in a map to material.

Hide the hdri from rendering to only save out the a shadow on a transparent background.

Here is the more detailed explanation : https://support.solidangle.com/display/A5AF3DSUG/Shadow+Matte

Message 3 of 11
Anonymous
in reply to: Anonymous

@Michiel Van Gasse

Thanks Michiel,

I'm using the shadow matte map in a map to material. How do I hide the HDRI from the render?

Paul

,

Thanks Michiel,

I'm using the shadow matte map in a map to material. How do I hide the HDRI from the render?

Paul

Message 4 of 11
michiel.van.gasse
in reply to: Anonymous

Depends how you light the scene with the hdri.

On the left is with the environment, the right with the skylight. (change to the red marked settings)

1355-settings.jpg

Message 5 of 11
Anonymous
in reply to: Anonymous

@Michiel Van Gasse

Thanks Michiel,

I do get the shadows I'm after with those two methods, but not the reflections. Either way I do it (HDRI in the environment or Skydome texture) if I have background colour checked then I get that colour reflecting in the model instead of the HDRI. If I have the scene background checked then I get the HDRI instead of the shadows.

See the two images below. I need to combine the reflections of matte1 with the shadows of matte2.

With Mental Ray the ground plane was visible in the reflections, but could be made invisible in the plane's object properties by disabling Visible to Reflection/Refraction and enabling Receive Shadows. That doesn't work with Arnold.

I appreciate your help.


Paul

1361-matte1.jpg

1363-matte2.jpg

Message 6 of 11
michiel.van.gasse
in reply to: Anonymous

Ah, I see. Try turning off cast shadows of the plane.

1364-settings.jpg

Message 7 of 11
Anonymous
in reply to: Anonymous

Thanks Michiel,

That doesn't do what I need. Your other post is closer (https://answers.arnoldrenderer.com/questions/4258/rendering-ambient-occlusion-shader-shadows-as-tran.html), but that isn't actually transparent. There's a white dot under the shadow. I'd that shadow to be see through so I can put the rendered image over a coloured background or similar (on a website for example). I can do this with MR easily with a standard matte/shadow/reflection material. It's very frustrating.

Paul

Message 8 of 11
michiel.van.gasse
in reply to: Anonymous

1373-shadow.png

1374-shadow2.png

Both solutions above are transparent, with shadow matte map.

The ambient occlusion shader is also with transparent shadows.

Message 9 of 11
Anonymous
in reply to: Anonymous

Hi Michiel,

Looks promising. What's is your method?

Thanks

Paul

Message 10 of 11
michiel.van.gasse
in reply to: Anonymous

shadow.zip

Hi Paul,

Here is the basic scene setup.

Let me know if something isn't clear. 😉

Message 11 of 11
Anonymous
in reply to: Anonymous

Hi Michiel,

That's what I needed. Thank you very much for your help.

Paul

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report