How do I create AOV for light facing surface point?

Anonymous

How do I create AOV for light facing surface point?

Anonymous
Not applicable

I want a simple colour coded AOV where all geo facing a light is 1 and all geo not facing the light is 0. Preferably anti-aliased.

0 Likes
Reply
627 Views
2 Replies
Replies (2)

Anonymous
Not applicable

I'm rather new to arnold, still trying to help you.

I've attached an image from my maya work space showing my solution.

1. create a aiFlat shader and assign to your desired objects.

2.create a "surfaceLuminance" node.

3.Connect it's "OutValue" to R,G and B channel off the color of the flat shader.

Do this in a render layer , make a material override and disable AOVs for this layer, render just beaty pass.

Maybe there is a simpler way but I don't know.

4027-lightfacing01.jpg

0 Likes

Anonymous
Not applicable

That works, thanks very much.

0 Likes