Community
Arnold for 3ds Max Forum
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

White border around alpha channel

10 REPLIES 10
Reply
Message 1 of 11
nb13ki
2271 Views, 10 Replies

White border around alpha channel

Hi,

I am using 3Ds Max 2019 with the Arnold renderer


I am trying to render a moving object with a transparent background to overlay on a static background. Every time I try to render, the object has a white border around it. The only thing so far that's worked is to use black as the background (no environment map). This is problematic because it changes the lighting of the object and doesn't match the scene.

This is the scene :

7759-background.png

This is the foreground, the blue background is just there to show white border

7758-animated-foreground.png


The alpha source of all bitmaps is set to "None (Opaque)"


Any help is greatly appreciated!

Labels (5)
10 REPLIES 10
Message 2 of 11
lee_griggs
in reply to: nb13ki

EXR may be a better format for compositing, otherwise, you might find something useful here.

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 3 of 11
madsd
in reply to: nb13ki

Try something like this.

My result in photoshop, the fringes has good integrity towards alpha.

7779-1.png


Light comes from a hdri, and I just used the environment switch map, so I could put a pink color in the view background while still having light and shadows come from the actual hdri.

( you dont have these maps in 2019, so just do like you normally do )


7780-ccccc.png



Save to .exr format


7811-cccccc.png

Message 4 of 11
nb13ki
in reply to: madsd

Thanks so much for your quick reply!
I tried installing the environment switcher and HDRI environment OSL plugins, but it didn't seem to work.
I don't think I understand what you mean when you say " do like you normally do".
If I don't have those OSL maps, and just make the environment pink it doesn't really work either. 😞
Also, why did you use pink?



Message 5 of 11
madsd
in reply to: nb13ki

Pink was the random color I picked, it means nothing.

Just add your hdri to environment directly and save out an .exr file, the file format is what is important, how you light it is not.

Message 6 of 11
nb13ki
in reply to: madsd

Oh ok.
And yes! That's what I was doing before, just connecting the bitmap to the environment and saving as .exr
7805-envr-map.png

But I still get the white border in photoshop

7806-capture.png

Message 7 of 11
nb13ki
in reply to: nb13ki

I think I figured it out!


In render setup > arnold renderer > environment,background & atmosphere > Background (Backplate)


I changed the source to "custom colour" and set it to black, but like you said, it could be any colour.

It's a little jagged, but works

7807-capture2.png

Message 8 of 11
madsd
in reply to: nb13ki

You also need to set the arnold backplate to either custom shader or arnold shader for Glass to translate correctly in alpha channel.


Message 9 of 11
nb13ki
in reply to: madsd

thank you!

Message 10 of 11
madsd
in reply to: nb13ki

It should work right off the bat tho, so I am not sure why you need to force this in.
Except I can see you have raised the background color next to the environment slot to something like grey, leave that color slot alone and let it stand at zero at all times and use other means to get what you want.

Message 11 of 11
madsd
in reply to: nb13ki

Small but vital update on the issue.

It is forbidden to change the background color in the environment panel next to the environment slot.

This is a legacy trace and should be pulled out of the application in the way it works with Arnold, we have plenty of ways to do a background with Arnold directly, but this slot destoys the alpha and edges if you raise it.

I spotted on your extra images you are infact altering this black default to a mid grey and I can reproduce the alpha glitch if I do the same, stuff starts to bleed into the color/alpha leaving you a fringe.

So make sure this slot is set to 0,0,0 completely black.


7815-qqq.png

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report