Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

AiShadowMatte workflow

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
zenop
1714 Aufrufe, 3 Antworten

AiShadowMatte workflow

Hi guys,

I'm fooling around with the shadow catcher. The setup is simple. I've got some geometry which:

  1. Catches shadows
  2. Has the backplate projected so it serves as a reflection environment

I can do this easily with a rayswitch node, shadowmatte for primary rays and a surfaceshader for the other rays. Now, one thing isn't right yet. Shadows are cast from the objects, but they aren't there in the reflections.

So - is it possible to use the output of the shadowmatte in a shading network, so I can combine it with the backplate? I imagine this outputs a closure which can't be used?

I can get around this if I render out my shadow pass first and pipe it back into the shading network of the shadow catcher, but ideally wouldn't go this route. How is everyone else handling this?

Beschriftungen (3)
3 ANTWORTEN 3
Nachricht 2 von 4
zenop
als Antwort auf: zenop

Answering my own question here to help everyone else with this.

I can pipe both the AiShadowMatte and the projection into the AiComposite shader. Then create an AiRayswitch and pipe the AiShadowMatte into the camera ray input, and the AiComposite node into all the other ray type inputs.

Practically what this does is combine the flat projection with the shadows, and then we replace the primary rays with the shadowcatcher again.

173-04-solution.png

Nachricht 3 von 4
Anonymous
als Antwort auf: zenop

@Zeno Pelgrims

This workflow still leaves a lot to be desired though. I've made some further tests with it, adding some nodes to your setup but still not getting the results one would hope for:

245-shadowmatteproblems-01.jpg

246-shadowmatteproblems-02.jpg

247-shadowmatteproblems-03.jpg

248-shadowmatteproblems-04.jpg

249-shadowmatteproblems-05.jpg

Beloved Solidangle, what is the correct workflow for getting physically plausible results?

Cheers,

Alex

Nachricht 4 von 4
richard
als Antwort auf: zenop

I have been trying to achieve what Alex tried here but without any luck. I have a different lighting setup but I can't get the reflections to look right. Does anyone have att better solution for the reflections?

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report