question

Bruno Rantin avatar image
Bruno Rantin asked ·

Shadow Matte workflow

Hi there! Thanks for your time!

Is there any way for out of frame shadow matte objects to pass through to skydome instead of having a black value? I've tried so many things but couldnt make it work.

The best I could do is use two skydomes, one with full contribution but the specular, and the other with no contribution except specular, then, on the second one, remove the shadow matte geometry from the light link, this way I only get the specular from the skydome.

Still, thats not what I would want, and I still get those odd and simply wrong diffuse contribution from black (or any solid color or texture) from the geometry that is offscreen. maybe I could try something with ray switch.

Disable cast shadows are also out of question, as I would lose the darkening contact shadows on the other objects.

It would be nice to have an option for offscreen geometry to passthrough to the background or be completely transparent.

Am I missing something?

Thanks!

shadow matteblackoffscreen
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

1 Answer

· Write an Answer
Bruno Rantin avatar image
Bruno Rantin answered ·

So I found a workaround. For anyone with the same problem here is how I came around:

I normally projected the footage into the shadow matte Background, but as shadow matte does not have an opacity channel, I plugged it into the emission of a standard surface with diffuse and specular turned off (black, zero weight). Then, as the projection does not have a default alpha, I used another projection, without any texture, to project a solid white, and use the default color as black, and plugged it into the opacity channel of the standard surface.
Finally, to keep the shadow matte alphas, I used a ray switch to plug the shadow matte into the camera, and the surface shader into everything else.

Here are the differences, standard workflow of just using a shadow matte, note the black where the surfaces goes beyond the camera frustum:

And with this workflow:

It would be nice to have an option on the shadow matte shader to just pass-trough anything that goes off camera. It is a must have to integrate anything onto a live footage.


nodes.jpg (317.1 KiB)
unlinked.jpg (695.1 KiB)
linked.jpg (628.5 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.