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

How do I texture map a stencil image onto geo so that when it renders it shows the cut out in the alpha channel and not the entire mesh of geometry?

3 ANTWORTEN 3
Antworten
Nachricht 1 von 4
jenmcknew
391 Aufrufe, 3 Antworten

How do I texture map a stencil image onto geo so that when it renders it shows the cut out in the alpha channel and not the entire mesh of geometry?

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

Not sure which plugin you are using but there are the layer_rgba , layer shader and the mix shader for this kind of thing.

What is the shading effect that you want? A label on a glass for example? Any images would be useful.

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

Say you want to have a mesh with a label/decal that needs to be changed independently of the rest of the material. For example a purple box with a red circle on it.

So I create a black texture and I make a white circle in it for the transparency. I assume that you can use the layer_rgba with these two objects to get the result but I can't get it to work.

Desired end result:

6174-finished.jpg


6175-material.png

Nachricht 4 von 4
Parmenides
als Antwort auf: jenmcknew

Never mind, I figured it out. The black & white image for the stencil needs to have 'Alpha is Luminance" checked and plugged into the 'Mix' on the top layer. Not sure if that is the easiest way but it works.

6176-shader2.png

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