User Tools

Site Tools


gamedev:textureproperties: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.

You could leave a comment if you were logged in.
gamedev/textureproperties/rim_exponent.txt · Last modified: 2020/07/12 13:58 by dragonlord