Table of Contents

, , ,

Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database » rim.exponent

Skin Texture Property: rim.exponent

Defines the shape of the fading curve for rim light.

Excepted Data Source1 component value
Data Range0 or greater
Default Value1
Affected ModulesGraphic
Linked Properties-

Description

The rim.exponent texture property defines the shape of the fading curve for rim light expressed as a power function curve.

A value of 1 produces a linear blend between 0 and rim.angle. This results in a constant intensity change per degree change.

A value of 2 produces a squared curve shape. This results in the intensity changing stronger near rim.angle value and less near 0 angle. This gives the rim a stronger and defined look.

A value of 0.5 produces a similar squared shape but flipped. This results in the intensity changing stronger near 0 angle and less near rim.angle value. This gives the rim a softer look.

The source is typically a single component value in the range 0 or greater.

The default value for this texture property is 1.

Examples

Example usage of rim.* skin texture properties and building a blue ghost skin.