Add basic color processing

missing the assignment to aiMaterials