i'm making a game. and want to render the characters garment and body seperately so that in flash, i can have the garment change hue (color) without effecting the rest of the body.
i need to know how to render my dude from maya, making the garment invisible. i can do this, my only problem is that when i do, objects behind appear where the garment should be, which i don't want.
i've shown a simple image below. left is the full character, middle is what i get so far, right is what i want.
in a way, i want the garb area to absorb anything that would appear behind it. my only means of doing what i want at the moment is doing full body renders and manually (in flash) deleting the red areas, which means if i continue to do it this way, i must manually chop up over 4,600 frames...
please help!!!

NOTE: HUGE thanks to kurt for your massively AWESOME low polly man DVD's, i would not have been able to rig/animate my dude without them!!