shown in other instead.
A decal_base material creates coverings for decals.
Common Material Settings
The decal_base material has some changes in common settings:
- Transparent option is not available for Decals, because decals work only with deferred objects.
- For alpha blending use blend option in States tab.
- Alpha-test decal can't be rendered in separate buffers, it overwrite all the materials under the decal. It is pretty fast and can be used for roads, for example.
- Render order option allows you to specify the order of decals.
- Samples located in decals folder.
Detail activates a set of textures (diffuse, normal, specular) to form a material layer. It is applied for bringing detalization to the decal material.
Available options are:
- Disabled - disabled detail blending.
- Overlay - depending on the base diffuse texture color, the base and detail textures colors are either multiplied (for dark color pixels) or screened (for light color pixels), which leads to the contrast increase while preserving highlights and shadows. Grey pixels are not effected at all. The blending is applied to the first UV coordinates of the mesh.
- Multiply - the base diffuse texture color is multiplied by the detail texture color, resulting in darker colors. White pixels are not effected at all. The blending is applied to the first UV coordinates of the mesh.
The Blend option allows you to select the type of material blending:
- Alpha Blend - alpha blending mode.
- Overlay - overlay blending.
- Multiply - multiply blending.
When you enable Angle Fade option, the angle of the surface will have influence of the decal projection. Enabling this option activates Angle threshold and Angle power parameters that allow to modify the angle where the decal shouldn't be projected.
The angle threshold allows you to increase the slope for projecting overlap material. It can even be rendered on surfaces that face downwards.
Normal substitute specifies a rendering mode for normals. By default, normal maps of a base and overlapping material are combined together. with this option enabled, only normals of the overlapping material are used
Normal substitute off
Normal substitute on
Use Alpha of Diffuse
Use alpha of diffuse option indicates the alpha channel of which texture is in use.
- Checked - use the alpha channel of the main (diffuse) texture.
- Unchecked - use the alpha channel of the normal map.
Availability of some textures depends on the set States values.
Diffuse texture indicates the main color of the decal.
Diffuse texture applied
Diffuse texture applied (another angle view)
Normal texture stores height information required to achieve an effect of Normal Mapping
Normal texture applied
Normal texture applied (another angle view)
Specular texture stores the light reflectance information. It defines shininess and a highlight color of the surface.
Specular texture applied
Specular texture applied (another angle view)
Fibers texture creates an effect of napped surface.
Fibers texture applied
Fibers texture applied (another angle view)
An additional set of the textures to form a material layer. The set contains all the textures from Base textures group, except for the Fibers texture.
All of the parameters have set default values, which can be replaced by your own ones. Availability of some parameters depends on the set States field values.
Diffuse - diffuse texture color. A color picker to choose the color of the diffuse map.
Specular is a color picker to choose the auxiliary specular color for the specular texture. It can be used for specifying different specular colors for one texture or modifying the texture color on the spot. The specular color of the texture and this color will be blended.
Gloss is a coefficient modifying the size of the highlight. Low values imitate wider highlights, typically appropriate to create diffuse reflection from mat surfaces. High values imitate pinpoint highlights, typically appropriate to create uniform reflection of light rays from glossy surfaces.
Normal Intensity is an intensity of the relief of the normal texture.
Fibers is a coefficient to scale the intensity of the fibers (provided by a fibers texture). The higher the value, the higher the fibers texture effect is.
Translucent parameter is a scale of the translucency effect, which permits light to pass through the object, but diffuses it so objects on the opposite side are not clearly visible.
Decal mask - decal bit-mask. If the decal mask of the decal material matches the surface material, the decal will be projected.
Visibility parameters indicates the influence of different shading effects over the material on which the decal is projected.
Diffuse Visible - a parameter that specifies the influence of the diffuse of the decal over the surface material.
Specular Visible - a parameter that specifies the influence of the specular texture of the decal over surface material.
Gloss Visible - a parameter that specifies the influence of the gloss of the decal over the surface material.
Fibers Visible - a parameter that specifies the influence of the base fibers texture of the decal over the surface material.
Translucent Visible - a parameter that specifies the influence of the translucency effect of the decal over the surface material.
Normal Visible - a parameter that specifies the influence of the normal texture over the surface material.
Detail Textures Parameters
A set of the shading parameters for detail material textures:
Diffuse - is a multiplier of the detail color of the surface provided by the detail diffuse texture similar to the base texture Diffuse parameter.
Specular - is a color picker to choose the auxiliary specular color for the detail specular texture similar to the base texture Specular parameter.
Gloss - a parameter modifying the size of the highlight of the detail texture similar to the base texture Gloss parameter.
Diffuse Visible - a parameter that specifies the influence of the detail texture diffuse over the base texture diffuse.
Specular Visible - a parameter that specifies the influence of the detail texture specular over the base texture specular.
Gloss Visible - a parameter that specifies the influence of the detail texture gloss over the base texture gloss.
Normal Visible - a parameter that specifies the influence of the detail normal texture over the base texture.
Angle Power - Angle fade power, indicates the intensity depending on the angle.
Fade threshold =0
Fade threshold =1
Fade threshold =2
Distance Power a coefficient that shows the converse intensity of decal depending on the distance. The lower the power value, the bigger area is rendered.
Fade power =0
Fade power =1
Fade power =2