Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The Illum Shader is the most commonly used shader. It can be used to create an extremely wide variety of effects. If there is no specific shader for the type of effect you are trying to achieve, use the Illum Shader.

Shader Params

...

Table of Contents
maxLevel3
minLevel2

Shader Parameters

Parameter

Description

Shader Gen Option

Emittance Map Gamma

Expandsthelowerrangeofemittancetextureandallowsdarkercolors Expands the lower range of emittance texture and allows darker colors to be interpreted as even less bright. This can be necessary to make a strongly emissive surface/object like a flame appear smooth. (1.0: Original range, 2.0: Maximum range)

Default

Blend Factor

Controls the visibility of the blended layer.

To use this parameter, you must enable the Blendlayer shader generation parameterenable Blendlayer in the Shader Generation Parameters.

Blend Layer

Blend Falloff

Controlsblendingfalloff.

To use this parameter, you must enable the Blendlayer shader generation parameterenable Blendlayer in the Shader Generation Parameters.

Blend Layer

Blend Layer 2 Spec

Controls specular intensity of the second blend layer.

To use this parameter, you must enable the Blendlayer shader generation parameterenable Blendlayer in the Shader Generation Parameters.

Blend Layer

Blend Layer 2 Tiling

Controls tiling of the second blend layer.

To use this parameter, you must enable the Blendlayer shader generation parameterenable Blendlayer in the Shader Generation Parameters.

Blend Layer

Blend Mask Tiling

Controls tiling of the blend mask.

To use this parameter, you must enable the Blendlayer shader generation parameterenable Blendlayer in the Shader Generation Parameters.

Blend Layer

Decal Alpha Falloff

Pow applied to decal alpha.

Decal

Decal Alpha Multiplier

Multiplier applied to decal alpha.

Decal

Decal Diffuse Opacity

Opacity multiplier for fading out decal diffuse color.

Decal

Detail bump scaleBump Scale

Sets detail bump scale.

To use this parameter, you must enable the Detail mapping shader generation parameterenable Detail Mapping in the Shader Generation Parameters.

Detail Mapping

Detail diffuse scaleDiffuse Scale

Sets diffuse detail blend scale.

To use this parameter, you must enable the Detail mapping shader generation parameterenable Detail Mapping in the Shader Generation Parameters.

Detail Mapping

Detail gloss scaleGloss Scale

Sets gloss detail blend scale.

To use this parameter, you must enable the Detail mapping shader generation parameterenable Detail Mapping in the Shader Generation Parameters.

Detail Mapping

Height biasBias

Controls the height bias.

To use this parameter, you must enable the Parallax occlusion mapping shader generation parameterenable Parallax Occlusion Mapping in the Shader Generation Parameters. See Parallax Occlusion Mapping for more information.

OBM/POM/SilPOM

Indirect bounce colorBounce Color

Modulates the bounced light from Global Illumination.

Image Modified Image Modified
Left: Default 136,136,136 setting. Right: 0,255,0 setting. Both exaggerated.

Default (Global Illumination)

OBM Displacement

Controls the amount of displacement for offset bump mapping (OBM).

To use this parameter, you must enable the Offset bump mapping shader generation parameter in the Shader Generation Parameters.

Offset bump mapping

POM Displacement

Controls the amount of displacement for parallax occlusion mapping (POM).

To use this parameter, you must enable the Parallax occlusion mapping shader generation parameterenable Parallax Occlusion Mapping in the Shader Generation Parameters.

See Parallax Occlusion Mapping for more information.

Parallax occlusion mappingOcclusion Mapping

Self shadow strengthShadow Strength

Allows movable objects, such as interactive objects or game characters, to cast shadows on themselves and each other. To use this parameter, you must enable the Parallax occlusion mapping shader generation parameter in the Shader Generation Parameters. See Parallax Occlusion Mapping for more information.

Parallax Occlusion Mapping

SSS Index

Subsurface Scattering Index. Integer and Fractal usage are applicable. 0 to disable.
0.01 - 0.99 for Marble. 1.00 - 1.99 for Skin. 3-4 are reserved for future use.

Image Modified Image Modified
Left: SSS disabled value of 0. Right: SSS value at 0.99 to simulate Marble scattering.

Default

Shader

...

Image Removed

...

Generation Parameters

Parameter

Description

Detail mapping

Add micro and macro details to the material surface.
See Detail Mapping - Shader Generation Params for more information.

Offset bump mapping

Enables offset bump mapping. This option requires a heightmap, which you can select for the Normal Map option under the Texture Maps heading.

Vertex Colors

Allows the use of fake ambient occlusion by using vertex colors or adds a bit more depth and contrast to the 3D model.
Vertex colors have to be added to the geometry in the 3D modeling software.

Decal

Activate this function if you use a Decal. Decal planes are normally placed very close to other geometry.
By activating a decal, you can avoid typical problems like flickering and z-fighting when faces are close to each other.
The decal position will be adjusted and the render priority changed. For more information please see Decals<dup> Decals.

Parallax occlusion mapping

Enables parallax occlusion mapping. This option requires a heightmap, which you can select for the Normal Map option under the Texture Maps heading. See Parallax Occlusion Mapping for more information.

Displacement mapping

Enables displacement mapping. This option requires a heightmap, which you can select for the Normal Map option under the Texture Maps heading.

Phong tessellation

Enables the rough approximation of smooth surface subdivision.

PN triangles tessellation

Enables the rough approximation of smooth surface subdivision.

Blendlayer

Enables the blending of the normal-mapped diffuse layer on top of the base material.

DetailMap mask in Diffuse alpha

Allow the artist to use the alpha channel in RGBA texture map to mask the decal.

Silhouette POM

Enables parallax occlusion mapping with silhouettes. This option requires a heightmap, which you can select for the Normal Map option under the Texture Maps heading.