question

Michael Phillips avatar image
Michael Phillips asked ·

Alpha Fringe

I am trying to add a logo to an object and using Alpha stacking. I am getting a black fringe around my shader. Is this the preferred way of working with Alphas? How do I remove the fringe ?screen-shot-2021-04-16-at-20258-pm.pngalpha.jpg

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

Daniel Hennies avatar image
Daniel Hennies answered ·

Looks like a premultiply issue to me.

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.

Michael Phillips avatar image
Michael Phillips answered ·

Peter, thank you for your answer. I should be more clear and I apologize this could be my lack of knowledge(Probably is). I am applying labels to objects. My logos are created in Photoshop and saved as a PNG with a transparent background. Could I be doing something wrong with saving the PNG in Photoshop? I have a base texture in this example, a standard surface with a white color and then I have my label as another texture so I can control placement of the logo and scale separately(See Below).

Would I just connect the PNG to standard surface shader color and image alpha to Main Geometry Cutout Opacity to cut out the logo? Unfortunately, this still has a fringe with this method. What is the point of Alpha Stacking method? It seems to yield same results but a lot easier? Again, thank you for your time and knowledge. screen-shot-2021-04-20-at-115726-am.png


2 comments
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.

Probably in this case cutout opacity and alpha stacking produce the same result, but they are slightly different methods, so that's not always the case. For instance if you have multiple layers, you cannot use cutout opacity. In general, stacking or layering is a more natural workflow when adding a logo to an object.

Back to your question, not sure what's wrong. You can check the alpha channel if you turn on Single channel in the image shader and set the Start channel to 3. You can also try to save a tif or exr from photoshop.

0 Likes 0 ·

And of course you can send me the scene or send it to support@arnoldrenderer.com, and I will take a deeper look.

0 Likes 0 ·
Peter Horvath avatar image
Peter Horvath answered ·

The workflow is similar how stacking works natively. Assign your materials in order (base, layer1, layer2, etc.) and setup the alpha on the top layers.

Alternatively you can define mixing within one Arnold material via the mix or layer shader, for instance:

mix-shader.png

Not sure where the black fringe is coming from. The alpha channel looks correct, right? Can you send me the texture to take a look?


mix-shader.png (22.6 KiB)
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.

Michael Phillips avatar image
Michael Phillips answered ·

Where do I adjust the premultiply setting?


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.