This shows you the differences between two versions of the page.
— | gamedev:textureproperties:rim_exponent [2020/07/12 13:58] (current) – created dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
+ | <WRAP youarehere> | ||
+ | [[: | ||
+ | </ | ||
+ | |||
+ | ====== Skin Texture Property: rim.exponent ====== | ||
+ | |||
+ | Defines the shape of the fading curve for rim light. | ||
+ | |||
+ | |Excepted Data Source|1 component value| | ||
+ | |Data Range|0 or greater| | ||
+ | |Default Value|1| | ||
+ | |Affected Modules|Graphic| | ||
+ | |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|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|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|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 ====== | ||
+ | |||
+ | <WRAP center 100%> | ||
+ | <WRAP center box 450px> | ||
+ | {{youtube> | ||
+ | <WRAP centeralign> | ||
+ | </ | ||
+ | </ | ||