impostor_material
The impostor_material material is used for impostors of the Octahedral type, both Mesh Static and Mesh Clutter objects.
Base Options#
In addition to the common material options and such mesh_base options as Material Mask, Terrain Lerp, and Lightmap Cubic Filtering, this material has the following specific options:
Bound Mode |
|
---|---|
Bound Minimum | Coordinates of the bound box minimum. |
Bound Maximum | Coordinates of the bound box maximum. |
Bound Scale | Scale of the flat bound at the impostor spot. |
Post Processing#
Post processing options are described here.
States#
The States tab contains the following settings and options:
AO Map | Enables the ambient occlusion effect. This effect is used to modulate global environment illumination using baked shadows from environment probes. Enabling the option activates the ambient occlusion texture. |
---|---|
Shading Map | Enables the shading texture for the material. |
Translucent Map | Enables the translucent texture for the material. |
Depth Map | Enables the depth texture for the material. |
Depth Shadow Only |
If enabled, depth offset is done for shadow only. If disabled, depth offset is done for both the impostor and its shadow. The offset value is adjusted by the Shadow Offset parameter. |
Parallax Offset | Enables the use of the depth texture to distort the texture coordinates. The intensity of the distortion is defined by the Parallax Intensity value. |
Vertex Interpolation | The optimization technique that allows performing shader calculations per vertex. If disabled, shader calculations are done per fragment, which is more performance-consuming. |
Opacity Jitter | Enables the effect of deferred transparency by using alpha testing and moving (jittering) of pixels. The extensity of effect is controlled by the Opacity Jitter Intensity value. |
The following textures may be configured for impostors depending on the enabled states:
Albedo |
The albedo texture specifies the color of the impostor surface. The texture is created by the Impostors Creator tool and is set automatically after generation. The texture is 4-channelled (RGBA):
|
---|---|
Normal |
Normal map stores information required to achieve an effect of creating the illusion of depth for adding details without using additional polygons. When calculating lighting of the surface, the mesh geometry is overridden by the normals value. The 3-channel texture stores coordinates in Object space. |
Shading |
The shading texture is a container for four different textures:
|
Translucent |
Translucent texture stores information on the material's translucency. For example, by using this texture, it is possible to specify parts of the object that aren't translucent (the Translucency parameter won't affect them). The texture is 1-channelled. |
Ambient Occlusion | Ambient occlusion texture modulates the global environment illumination, for example, when an object is lighter at the top from the sky above, and darker at the bottom from the ground below. The texture uses only R channel. |
Depth |
Depth texture stores information on the material's depth. The texture is 1-channelled. |
The following parameters may be configured for impostors depending on the enabled states:
Atlas Number | Number of rows and columns in the atlas that stores the captured impostor images. |
---|---|
Metalness | Multiplier for metalness values stored in the metalness texture. |
Roughness | Multiplier for the surface roughness values stored in the metalness texture. |
Specular | Multiplier for the intensity of highlight provided by the specular texture. |
Microfiber | Coefficient to scale the intensity of microfiber (provided by the microfiber texture). The higher the value, the higher the microfiber texture effect is. |
Translucency | Scale of the translucency effect, which allows the light to pass through the object, but diffuses it, so objects on the opposite side are not clearly visible. |
Parallax Intensity | Intensity of the parallax offset distortion effect. |
Shadow Offset | Offset value for impostor shadows. |
Opacity Jitter Intensity | Multiplier for the jittering effect creating transparency. |
Size | Size of the object for which impostors were grabbed. |
Pivot Offset | Offset of the pivot point from the center of the object's bounding box. |
The information on this page is valid for UNIGINE 2.20 SDK.