Primitives with materials