IBL Vegetation Shader

This is a specific shader intended for the use on billboarded foliage. It is mostly a subset of the Standard shader with tinted specular.

This page gives technical definitions.  For usage guide see: PBR - Using Standard Shader

Shader Name 

L2IBLVEGETATION

Configuration

Albedo Map

  • Map: Enable or Disable the base Albedo Map.
  • UV: UV_A, UV_B, UV_C, UV_D or WorldPlanar

AO Specular Map

  • Map: Enable or Disable the AO Specular map.
  • UV: UV_A, UV_B, UV_C, UV_D or WorldPlanar

Leaf Rough Map

  • Map: Enable or Disable the Leaf Rough map.
  • UV: UV_A, UV_B, UV_C, UV_D or WorldPlanar

Normal Map

  • Map: Enable or Disable the Normal map.
  • UV: UV_A, UV_B, UV_C, UV_D or WorldPlanar

Translucency

Translucency allows for a simplified version of back-lighting, the effect is limited to the leaf mask.

  • Translucency: Enable or Disable Translucency on Albedo Maps.

General Configuration

  • Receive Shadows: Enable or Disable receiving shadows.
  • Billboard: Enable Billboarding with either default or pointy normals.
  • Vertex Color: Disable, AlbedoMultiply. AlbedoOverlay, AlbedoMultiply (Mask by Albedo Alpha), AlbedoOverlay (Mask by Albedo Alpha)
  • Vertex Alpha: Disable, FakeShadows or DetailBlend

Parameters

Base_Material

The Base Material parameter section allows the setting of static values when the map for one of the following is disabled in the Shader Configuration.

  • Albedo (Color)
  • AO
  • Specular
  • Metallic
  • Roughness

UV_Scale

This dialogue allows the scaling of the selected UV for any maps present.

Material_Adjust

This section allows the adjustment of final output of the material. 

  • AlbedoTint
  • ReflectionAt0Angle
  • Specular: 1.0 is recommend default for most materials. For natural materials this may need reduce the specular input in general depending on the nature of your specular maps.
  • SpecularTint: This is a colour allowing the tinting of specular reflections. To improve the look of vegetation this defaults to a slightly green colour. The tinting is restricted to the leaf mask.
  • Metallic: Adjust overall Roughness, lower than 0.5 makes surfaces less metallic. Above 0.5 makes surfaces more metallic.
  • Roughness: Adjust overall Roughness, lower than 0.5 makes surfaces smoother. Above 0.5 makes surfaces rougher.
  • NormalShadowInflunce: Adjust the amount of influnce the normal map has on shadows cast onto this surface.

Translucency

  • Power: Adjust how broad or refined the effect is.
  • Scale: Adjust the overall strength of the effect.

Textures

Name

Default

Type

Default File Types

Description

albedoMapEnabledSRGB (Alpha linear)alb or albaAlbedo map, with optional opacity mask in alpha channel.
aoSpecularMapEnabledLinearaos

The red channel is applied as a mask to Specular output.

The green channel is applied as a mask to AO.

leafRoughMapEnabledLinearlr

The red channel is a mask for leaf coverage. Translucency and Specular tinting is limited by this mask.

The green channel is applied to as a roughness mask.

normalMapEnabledLinearnm