added ambient per primitive
added ambient per primitive