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

aimixshader vs ailayershader?

4 ANTWORTEN 4
Antworten
Nachricht 1 von 5
Anonymous
1611 Aufrufe, 4 Antworten

aimixshader vs ailayershader?

Hey peeps,

I'm v confused about the pros and cons between the aimixshader and ailayershader. Could anyone share some wisdom?

It seems that the aimixshader is the same as the ailayershader with the only difference that the aimixshader has a max of two shaders. I must be missing something as it seems that the aimixshader is newer tech than the ailayershader?

Ultimately i'm interested in layering more than two shaders for the purpose of adding makeup on top of a human skin shader. I believe it's no problem to chain multiple aimixshaders, but why not just use the ailayershader?

Tags (1)
Beschriftungen (1)
4 ANTWORTEN 4
Nachricht 2 von 5
maxtarpini
als Antwort auf: Anonymous

one is for textures and one is for materials. however for makeups I would discard both and just paint on top of the skin textures :leicht_lächelndes_Gesicht:

Nachricht 3 von 5
Anonymous
als Antwort auf: Anonymous

@Max Tarpini that can't be right. Both accept shaders and say so in the Arnold docs:

https://docs.arnoldrenderer.com/display/A5AFMUG/Layer+Shader

What makes you think one is for textures and the other materials? All my testing demonstrates they both work with materials all the same (aistandardsurfaces)

P.S.

painting on the skin is not an option - gold foil for example.

Nachricht 4 von 5
maxtarpini
als Antwort auf: Anonymous

ouch I thought it was 'layer rgba' :leicht_lächelndes_Gesicht: looks like mix has blending modes btw.

Nachricht 5 von 5
Stephen.Blair
als Antwort auf: Anonymous

  • layer_shader lets you mix up to 8 shaders
  • mix_shader can mix 2 shaders, or *add* 2 shaders (eg volumes or emitters)
  • mix_shader and layer_shader (aka aiMixShader and aiLayerShader in Maya) take closures as input and output a closure.
  • They both blend shaders the same way, except layer_shader blends with the accumulated blends of the previous layers.


// Stephen Blair
// Arnold Renderer Support

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