This shows you the differences between two versions of the page.
| gamedev:textureproperties:rim_angle [2020/07/12 13:50] – created dragonlord | gamedev:textureproperties:rim_angle [2020/07/12 13:50] (current) – dragonlord | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| The angle value is defined as mapping from the true angle in radians in the range 0 to PI/2 to the range 0 to 1. Hence a property value of 0 equals 0 degrees deviation while a property value of 1 equals 90 degrees deviation. 90 degrees deviation equals to the normal pointing right at the camera or straight away from it. A value of 0 disables rim effect. | The angle value is defined as mapping from the true angle in radians in the range 0 to PI/2 to the range 0 to 1. Hence a property value of 0 equals 0 degrees deviation while a property value of 1 equals 90 degrees deviation. 90 degrees deviation equals to the normal pointing right at the camera or straight away from it. A value of 0 disables rim effect. | ||
| + | |||
| + | The [[rim_exponent|rim.exponent]] texture property influences the intensity distribution along the rim. | ||
| The source is typically a single component value in the range 0 to 1. | The source is typically a single component value in the range 0 to 1. | ||