Jump to content

Remove lining around Alpha Channel


NOOXY
 Share

Recommended Posts

this is also usually a case of better bitmap preparation. make sure your tree bit map has a green backround (or as leed suggests, a neutral backround, ie, green/blue). this helps to eliminate an 'edge'. your alpha map version then has a nice green edge to play up to.

 

also, give the alpha map channel in the material editor a spot of SAT blurring. this will take the 'edge' off the edge.

 

you might also want to 'stroke' your alpha map in photoshop with a mid tone grey colour. again, this helps to eliminate the hard edge.

Link to comment
Share on other sites

I am assuming the trees are pictures on planes, you have an alpha map and a colour image map. in photoshop clone extra green tree leaves so that the colour map extends passed the alpha. That way you should not get any white edges.

 

The other way if you do not want to re-render is to select your alpha channel in photoshop and contract the selection by 1-2 pixels, this will eat in to the image a bit though.

 

hope that is clear.

 

Lee

Link to comment
Share on other sites

The other thing you should check out is the section in the C4D manual about the different kinds of alphas that exist. The section on rendering output goes into some detail about pre-multiplied or straight alphas etc etc.

 

If I was seeing this in any other compositing tool, I'd say check your alpha image state in the first place. White or black fringes are the two most common results.

 

Good luck,

 

Martin

Link to comment
Share on other sites

You can do a separate rendering with a pure white material assigned on everything you need in the alpha chennel, while everything else being pure black. No gi, no lights... Use this mask instead of the alpha chanel output. This should work with every rendering software.

 

I hope it helps :)

Link to comment
Share on other sites

You've got a few possible methods already posted here and all will work. I'll offer one more.

 

Open the colour map in PS.

Duplicate its colour layer.

Select the lower of the two layers and use Guassian blur(2-5pixels depending on map size).

Flatten layers and save.

 

This could be done with a batch action on an entire directory in a few minutes. You may also choose to add a uniform scale operation of about 102% prior to the blur.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...