Forest Reference
Forest / Reference / Forest Plugin / Material

Material

material rollout

Color Tint

Applies a random color tint to the items. There are two possible modes of operation:

Gradient

You may define a Color Range by clicking in the color boxes, and the min/max values determine the magnitude of tint applied, from 0 to 100%. Use Min=0 and Max=0 to disable the effect.

Map

Forest uses a custom map as tinting source. With "Random Values", a random pixel from the map is taken for each tree, and "As Texture" applies it as a standard Max texture.

By default, Forest uses the parameters defined in the Distribution Map rollout (X/Y, offset, rotation...) for scaling, but it's also possible to get the mapping coordinates from the surface, if there any assigned in the Surface rollout, and a value greater than zero is assigned to "Map Channel".

tintmap

Use on Custom Objects

Applies the random tint to the trees created from "Custom Object" sources.

Note: Color Tint requires "Forest Material" or "Forest Color" to work. Be sure that the materials used in the Forest object (assigned in the Geometry rollout or applied directly to the object) use one of these plugins. "Forest Material" is a custom Material included with Forest Pack, and "Forest Color" is a 2D texture map. Without themt, Color Tint won't work.

It's possible to customize the tinting options for each material using the "Override" option. See "Forest Material" and "Forest Color" reference for details.

tintmap

Note: For users coming from Forest 2: you will notice that all options of fixed/random Material ID have been removed. This is because Forest 3 can use multiple types of trees, each one with its own Material, using the parameters of Geometry rollout. So, you can forget about creating and applying the multi-materials manually, the plugin does it automatically.

Forest Shader

Forest includes a custom shader that enhances the rendering of billboard trees. Currently, it's only available for Mental Ray. The following parameters adjust the behaviour of this shader. As all options on this rollout, require the use of materials based on "Forest Material" plugin.

Trace Depth

Maximum raytrace depth used to compute the transparencies, default value is 3.

Opacity Level

Defines the minimum level of opacity of the mask textures used by Forest Material. As instance, a value of 0.8 considers all pixels darker than RGB=204,204,204 (255*0.8 = 204) as opaque. It's used to optimize the computation of opacity maps.

Fast Opacity

Other optimization parameter. Most of scenes work nice with it enabled, but would create image artifacts on the horizon when "Haze" effect is enabled on Sun & Sky solutions (mr Physical Sky).

These last parameters are used to speed up rendering, but in some situations using lower values would create image artifacts. To disable them use Trace Depth=99, Opacity Level=1.0, Fast Opacity unchecked.

Global Illumination parameters

Self-illum factor

This parameter works as a multiplier of the self-illumination value, for all materials used by the Forest object. Use it to adjust the Self-illum effect, without having to modify each material individually.

Irradiance Color

Defines the effect of global illumination on the Forest object when "Final Gathering" is enabled (Mental Ray renderer options).

To get the best results with these parameters, we suggest this configuration for Mental Ray scenes:

With Final Gathering enabled:

  • Forest Self-illum factor: 20% to 100%
  • Material Self-illum: 50%. Create all your new materials with this value, you won't need to modify it... use SI factor instead. All materials of the Forest libraries have 50% by default as well.
  • Irradiance Color: default
  • Use SI Factor + Irradiance to get the desired global illumination over the trees.

Final Gathering disabled:

  • Forest Self-illum factor: 20% to 100%
  • Material Self-illum: 50%.
  • Irradiance Color: not used

Optimize Materials

material optimizer

This tool helps you to convert and optimize the materials used by Forest, selecting automatically the best settings for each renderer. It includes the following features:

  • Convert Standard Materials to VRay (VRayMtl) / Mental Ray ( Arch & Design).
  • Apply Forest Color to the diffuse maps.
  • Apply Forest Material (billboards only).
  • Disable filtering for Opacity Maps (recommended for leaves using transparencies).

To demostrate the benefits of the Material optimizer, we have created this free Alpine Lake scene which uses XFrogPlants. The render time is over seven times faster over using standard materials.

XFrog Alpine Lake Scene