question

Jennifer Mcknew avatar image
Jennifer Mcknew asked ·

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?

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.

Derryl Rice avatar image
Derryl Rice answered ·

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.


shader2.png (137.1 KiB)
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.

Derryl Rice avatar image
Derryl Rice answered ·

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:



finished.jpg (34.6 KiB)
material.png (387.4 KiB)
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.

Lee Griggs avatar image
Lee Griggs answered ·

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.

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.