Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Shadow Matte workflow

1 REPLY 1
SOLVED
Reply
Message 1 of 2
brurpo
352 Views, 1 Reply

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!

Labels (3)
1 REPLY 1
Message 2 of 2
brurpo
in reply to: brurpo

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.

4219-nodes.jpg

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

4220-unlinked.jpg

And with this workflow:

4221-linked.jpg

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.

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

Post to forums  

Autodesk Design & Make Report