terrain_global_base
A terrain_global_base material is a default material for the global terrain object. Via this material you can adjust different visual and optimization parameters and control the post processing for the global terrain.
Casting of shadows for this material is disabled by default. You can enable it via the Common tab
This article assumes you have prior knowledge of the following topics. Please read them before proceeding:
States
The terrain_global_base material has the following Options and Post processing states.
Material Editor, States tab.
Options
Specify the following options:
- Fade lods height - enables gradual linear interpolation between the height LODs.
- Fade lods albedo - enables gradual linear interpolation between the albedo LODs.
- Fade lods normal - enables gradual linear interpolation between the normal LODs.When smooth fading between LODs is not critical, these three options above can be disabled to gain performance.
- Culling frustum - enables frustum polygon culling. Polygons outside the frustum are culled.
- Culling lod - enables LOD polygon culling. Polygons of a more detailed LOD are culled if a less detailed LOD is visible.
- Culling height - enables height culling. Reduces the number of polygons for areas with equal height values to 2 triangles.These three options above increase performance.
- Filter mask height - enables linear filtering for the masks of the height LODs.
- Filter mask albedo - enables linear filtering for the masks of the albedo LODs.
- Filter mask normal - enables linear filtering for the masks of the normal LODs.When smooth linear filtration is not critical, these three options can be disabled to gain performance.
- Attenuation - the shape of LOD fading when the distance changes:
- Rectangle.
- Circle.
- Cubic filter albedo - enables cubic interpolation for albedo LODs.
- Cubic filter normal - enables cubic interpolation for normal LODs.These two options above are used for smoothing of low-detail data. However, when enabled, they significantly reduce performance.
Post Processing
- SSAO - enables SSAO (screen-space ambient occlusion) post for the global terrain.
- SSR - enables SSR (screen-space reflections) post for the global terrain.
- SSS - enables SSS (sub-surface scattering) post for the global terrain.
- DOF - enables DOF (depth of field) for the global terrain.
- Motion blur - enables motion blur for the global terrain.
- Sun Shafts - enables sun shafts for the global terrain.
Parameters
Material Editor, Parameters tab.
.
- fade_lods_albedo - linear interpolation factor for albedo LODs. Determines crossfading smoothness.
- fade_lods_height - linear interpolation factor for height LODs. Determines crossfading smoothness.
- fade_lods_normal - linear interpolation factor for normal LODs. Determines crossfading smoothness.
- Material mask - specifies material bit-mask.
Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)