This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gamedev:textureproperties:outline_color [2020/05/04 18:50] – created dragonlord | gamedev:textureproperties:outline_color [2020/05/04 19:07] (current) – dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
<WRAP youarehere> | <WRAP youarehere> | ||
[[: | [[: | ||
Line 7: | Line 7: | ||
Defines the outline color. | Defines the outline color. | ||
- | |Excepted Data Source|3 component | + | |Excepted Data Source|3 component |
|Data Range|0 to 1 for all color components| | |Data Range|0 to 1 for all color components| | ||
|Default Value|(0, 0, 0)| | |Default Value|(0, 0, 0)| | ||
Line 16: | Line 16: | ||
The **outline.color** texture property defines the outline color. If [[outline_thickness|outline.thickness]] is larger than 0 an outline is rendered around the component. This is typically used to highlight objects or to use cartoon style effects. Outline color is rendered as fully rough material with no reflectivity. This allows outline to be affected by lighting like other skins which makes outlines fit better. | The **outline.color** texture property defines the outline color. If [[outline_thickness|outline.thickness]] is larger than 0 an outline is rendered around the component. This is typically used to highlight objects or to use cartoon style effects. Outline color is rendered as fully rough material with no reflectivity. This allows outline to be affected by lighting like other skins which makes outlines fit better. | ||
- | The outline.color value is a 3 components color value with the data of all color components located inside the range from 0 to 1. 0 represents 0% light reflectivity for a color component while 1 represents a 100% light reflectivity. | + | The outline.color value is a 3 components color value with the value of all components located inside the range from 0 to 1. 0 represents 0% light reflectivity for a color component while 1 represents a 100% light reflectivity. |
The default value for this texture property is black (0, 0, 0). | The default value for this texture property is black (0, 0, 0). |