Allow materials to be specified during render object creation