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

Occlusion + Facing Ratio?

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
MikeVerta
376 Aufrufe, 3 Antworten

Occlusion + Facing Ratio?

I need help building an Arnold shader - I have all but the last step, where I want to make the Occlusion-based "Dirt" also subject to FacingRatio so it appears primarily at grazing angles. How can I do this?

So far:

568-nodes-example.jpg

569-buddha-example.jpeg

Thank you!

3 ANTWORTEN 3
Nachricht 2 von 4
lee_griggs
als Antwort auf: MikeVerta

There is a facing ratio shader in MtoA that you could try.

Zeno Pelgrims also has a dirt shader available for MtoA.

Lee Griggs
Arnold rendering specialist
AUTODESK
Nachricht 3 von 4
MikeVerta
als Antwort auf: MikeVerta

I answered my own question.

The trick was to drive a ramp with a samplerInfo node's Facing Ratio output, and then modify that ramp's color gain with the Ambient Occlusion node.

So, for others:

samplerInfo [Facing Ratio output] > ramp1 [UV Coord input]

then:

ai_AmbientOcclusion [Out Color output] > ramp1 [Color Gain input]

Then take the ramp1 [Out Color output] and connect it to the Mix input of an ai_MixShader. This will use ambient occlusion to place 1 shader on top of another, and also subject it to viewing angle.

Nachricht 4 von 4
lee_griggs
als Antwort auf: MikeVerta

Images or it didn't happen :zwinkerndes_Gesicht:

Lee Griggs
Arnold rendering specialist
AUTODESK

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