Hey im working on a small scene in maya and can't figure out why this is happening.
Problem: I have some 2d characters which i have nasked out with an alpha mask. On my 3d objects i have a toon outline. when i render the scene the toon outline on the 3d objekts will show through my 2d characters and i have no clue as to why it is happening.
![help2i.jpg](http://img861.imageshack.us/img861/1277/help2i.jpg)
then i have a smaller problem with the characters which i have alpha maskes gets an 1-2 pixel thick outline, how do you guys alpha mask object to avoid this outline with unwanted pixels?
![helplm.jpg](http://img825.imageshack.us/img825/8504/helplm.jpg)
Replies
If they are set to a transparent type of blend mode, they might need to be switched to a masking type blend mode (UDK as several for instance).
Also, in order to prevent the grey line appearing around the masked images, be sure to have some extra buffer space (or bleed room) in the texture that matches the texture near the mask edges. In this case the outlines are black, so you should be fine with a black fill.