Physically Based Materials

Chapters:

PBR (Physically Based Rendering) material is a surface material which simulates more realistic reflections and a lighting model. Beyond that, it is easier to create content, because it has few settings that greatly facilitates artists' work.

To understand how the physically base material (PBM) works and why it is better than mesh_base material you should figure out physical properties of materials in real life. The essential thing of PBM is that all materials are divided into two main groups: metals and dielectrics (nonconductors).

What We See

Diffuse

Diffuse reflection (also known as diffuse light) is an effect of reflection of light from a surface in all directions at many different angles.

Ambient reflection is simulated by using cubemaps while light source reflection is calculated by using BRDF formula that describes the behavior of the glint on the surface. Before the BRDF, the Blinn-Phong was used which is a simplified version of BRDF. Now the more physically correct BDRF that is used is called GGX.

Dielectrics

Dielectrics (also known as insulators) are materials with diffuse scattering and reflection with low intensity. Reflections on dielectrics are colored the same color as the ambient. Dielectrics include fabric, plastic, wood, paint and so on.

For example, due to diffuse scattering, we see the color of plastic surfaces. And due to reflection, we see glares on these surfaces.

Metals

Metals are materials without diffuse scattering, but with an intensive reflection. The diffuse scattering of metals is close to 0, which is black. We see metals only due to reflected light which is colored the surface color.

For example, gold has black diffusion and intensive reflection of yellow color, copper has intensive reflection of red color, silver has intensive reflection of white color.

Fresnel Effect

Another important concept is the Fresnel effect. The less the angle of light incidence on the surface, the stronger the intensity of the reflection of this light would be.

At an angle of 90 degrees (perpendicularly to a surface), different materials reflect with different light intensity. Dielectrics reflect from 0.05 to 30 percent of the light, while metals reflect from 55 up to 95 percent.

At the angle of 0 degrees all materials are capable of reflecting 100 percent of the light.

Albedo

Albedo consists of the diffuse and reflected light. In other words, albedo defines the color of the surface. We see red plastic as red, gold we see as yellow, blue paint we see as blue, steel we see as gray.

Roughness

If we look at most materials under the microscope, we will see that their surfaces consist of a large amount of small particles which affect the light reflection from the surface. In other words, the surface is rough.

Because of the roughness of the surface, light rays bounce in different directions, and the rougher the surface, the bigger the deflection amplitude of the light rays will be. Consequently, the bigger the deflection amplitude, the more “blurry” the image is.

Energy Conservation

Physically correct render also considers the energy conservation. That means both diffuse and reflection light intensity should not be greater than the intensity of the light which dropped on the surface. Thus, the more intensity of the reflection, the less intensity of the diffuse light (diffuse light is becoming darker). Only dielectrics have this effect, because metals have black diffuse reflection.

Microfiber

Another important parameter of Unigine PBR material is microfiber, that simulates the napped surface.

That nap (pile) is made of a large amount of strands with small length. If we create a napped surface (fur, fluffy material) as a geometry, it will be impossible to handle that surface in real time. Microfiber parameter of the PBR material simulates the light reflection on the napped surface. The point is the engine creates shading between strands of the fur. But when the light is perpendicular to the microfiber surface, the surface become brighter. Because of this effect, a velvet sphere surface will be highlighted along borders.