Material Properties

When you open the Materials tab, you will see that it has lots of information on the different material properties. Let’s talk about each one:

Diffuse: This is the closest you can get to saying “the color of the object.” More specifically it is the color the object reveals equally from all directions, from each point on the material’s surface. A diffuse map, meaning an image, can be applied. This image will show directly on the surface of the object. Often, if it is a complex image, it must be mapped properly before being brought into Xcode.

Ambient: This property makes it look as if light is hitting your object from all directions equally. For the ambient color of a material to be visible, you must have at least one light ...

Get Learning Swift™ Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.