question

Suraj Sudhakaran avatar image
Suraj Sudhakaran asked ·

How can i use textures for opacity with the ambient occlusion shader in MtoA 2.0.1 for Maya 2017?

arnold5opacity
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.

Stephen Blair avatar image
Stephen Blair answered ·

As of Arnold 5, the opacity, ambient occlusion, and flat shaders are color shaders. They don't support opacity. You'll have to combine one of those shaders with a shader that does handle opacity (for example, use the color from ambient occlusion with the opacity from standard surface).

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.

Parabhdeep Singh avatar image
Parabhdeep Singh answered ·

For Alpha Ambient Occlusion

  • Go to render setting -> AOVS Tab->Add Custom
  • Add custom AOV and name it Occlusion
  • Select AOV and go to custom AOV Shader-> Add aiUtility shader to it
  • select aiUtility and shade mode to ambocc
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.

Guilherme Trevisan avatar image
Guilherme Trevisan answered ·

I once needed an AO + Opacity for the leaves of a tree. To make it work I created an AiStandardSurface and plugged an AiAmbientOcclusion(OutColor) to its Emission Color (Emission Weight = 1), and removed any Base color and Specular.

After that I plugged the alpha of my leaf image to opacity R,G and B.

Then in visibility for the object I turned off everything except Primary Visibility,Cast Shadows, and Self Shadows. This worked for me.

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.

Gabriel Calvo Solano avatar image
Gabriel Calvo Solano answered ·

Oh god..thanks a lot for this. I almost went crazy searching for the opacity option, and i coulndt find it since it was removed.

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.

龙龙 李 avatar image
龙龙 李 answered ·

I connect ambient occlusion to standard surface with opactiy, the beauty pass is fine , but i want to write this to the AOVs, it return black

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.

Suraj Sudhakaran avatar image
Suraj Sudhakaran answered ·

Thank you so much@Stephen Blair

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.