View Single Post
# 3 16-12-2006 , 06:34 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Select your shaders in the hypershade and run this:
Code:
{
	string $sSel[] = `ls -sl`;
	string $sItem;
	
	for($sItem in $sSel)
	{
		if(objExists($sItem + ".ambientColorR"))
		{
			setAttr($sItem + ".ambientColorR") 0;
			setAttr($sItem + ".ambientColorG") 0;
			setAttr($sItem + ".ambientColorB") 0;
		}
		if(objExists($sItem + ".translucence"))
		{
			setAttr($sItem + ".translucence") 0;
		}
	}
}


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!