User Tools

Site Tools


PBR Materials

Physically based rendering requires feeding the lighting equation with more real-world values. This means that materials in SpeedTree 8 have different map slots than previous versions. It is also beneficial for these maps to be within specific ranges to accomplish the best reaction of the material in all lighting scenarios.

Maps

Color

This defines the intrinsic color of the material, or what it would look like under a white light with no reflected/specular light. You may see this referred to elsewhere as the “albedo.” In terms of simpler lighting models, it is the diffuse color of the material.

Note: To match real-world materials, these values must fall within a range. That is, in the real world there is no such thing as a pure white or pure black material. Thus, we have added a render mode (Albedo Check) that allows you to make sure your values are within range quickly and easily. In this mode, red = too high and blue = too low. Otherwise it shows the luminance.

Opacity

This map is the mask, or cut out of your material. White is opaque; black is transparent.

Normal

The Normal map is used to provide surface detail by perturbing the facing direction of each individual pixel. SpeedTree expects tangent-space normal maps. Normal maps with higher contrast produce sharper, more pronounced changes in lighting.

Gloss

Gloss is the representation of how rough the surface is at a micro level. Sometimes it is also called “smoothness.” If you are used to using roughness, Gloss is the opposite of roughness.

All surfaces in the real word have some sort of glossiness to them. When light bounces off a surface, how much it is scattered is controlled by how glossy it is. With a low glossiness value, the light that is reflected is diffused by the microsurface, and thus the light reflected into the eye/camera (the specular light) will be large, blurry, and dull. With a high gloss, the specular highlights will be smaller, sharper, and brighter.

Even a very dull bark still has specular light bouncing off the surface. Often, surfaces you think of as “not glossy” still have a decent amount of gloss to them. This light is just diffused a great deal by having a lower gloss value.

Specular

The Specular map is used to scale the amount of light reflected off a surface. In the real world, this varies only slightly, so in most cases it should be left at the default value (0.75 gray). On fully metallic surfaces, this map is ignored.

Occasionally for very rough surfaces, you can use a “crevice map” in the Specular map to darken the cracks in the surface, as they would not reflect as much light as a flat surface.

Metallic

This map controls how “metal-like” your surface will be. Non-metals have values of 0, metals have values of 1. Values between 0 and 1 are rare, and reserved for things like rusty or corroded metal.

When set to 1, diffuse light becomes black and specular light is now colored with the Color map. The Specular map is ignored on metals.

For almost all tree materials, metallic should be left at 0.

Subsurface

Subsurface light is light that passes through the material and exits on the other side, common for leaves and flowers. The thinner, brighter, and more porous a surface, the more subsurface light you will want to have shine through the back side.

In SpeedTree, subsurface light is controlled by two separate maps - Subsurface Color and Subsurface Amount. In many exports, these maps are combined into one texture. But, having them separate makes it much easier to edit the color and amount separately.

Note: Similar to the Albedo Check render mode, there is also a Subsurface Check render mode, which lets you see if your colors are within good ranges for PBR materials. It is normally okay to have values here that are brighter and more saturated than those in the Color map, but keeping it in range allows for more realistic subsurface light.

Ambient Occlusion (AO)

Ambient occlusion helps to simulate the self-shadowing that happens within corners and crevices of a model or surface. Basically, it is a measure of how exposed a point is on a surface. In use, it will darken the ambient light and slightly darken diffuse light.

Note: SpeedTree can render a per-vertex ambient occlusion value. You can use this map to provide the same effect on a much smaller scale. The final AO value used during rendering will be the multiplication of the two, so be sure that this material map is mostly white so as not to cause an over-darkening of the tree.

Custom

The Custom map is not used in any of the render modes we supply with the SpeedTree Modeler. However, the Custom map will enable you to write your own render mode. It is also exported with the tree in the mesh formats, and it is available during texture packing when exporting game formats. You can use this map to pack any other extra data you need that can't be placed elsewhere.