SPONSORED LINKS

3.7.3 Material Properties

The reflective, refractive, and absorbtion qualities of a material affect its interaction with light, thus affecting the ambient, diffused, and reflected lights in your scene.

How Materials Affect Ambient Light

The properties of a material can affect ambient light by changing the color of the ambient light. That ambient light's color is then seen on the shadow parts of every object in the scene.

How Materials Affect Diffuse Light

A translucent material affects diffuse light as it scatters and bends the light passing through it. Diffuse light has both color and intensity. The color of a diffuse light comes from the color of the substance that scatters the light. The intensity of the diffuse light depends on how much the light is refracted by the substance; the closer the incident angle is to a right angle, the brighter the diffuse light is.

How Materials Affect Reflected Light

How a substance reflects light affects how shiny the object appears. A substance like chalk reflects light in all directions with equal intensity, so it appears dull. On the other hand, a substance like a mirror reflects light in only a certain direction, so it appears shiny. How shiny or dull a surface appears depends on how that substance reflects light. Shiny surfaces show a shiny spot (specular highlight) that is very bright compared to the surrounded parts because most of the reflected light comes off in a single predominant direction.

N64 cannot set these elements, but it is possible to express them indirectly.

Example N64 Functions

Use the following N64 functions to set up lighting: