Both sides previous revisionPrevious revisionNext revision | Previous revision |
gamedev:textureproperties:color_tint [2019/05/08 22:24] – dragonlord | gamedev:textureproperties:color_tint [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord |
---|
{{tag>graphic skin texture color}} | {{tag>graphic skin texture color}} |
<WRAP youarehere> | <WRAP youarehere> |
[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **color.tint** | [[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **color.tint** |
</WRAP> | </WRAP> |
| |
<WRAP boxheader> | ====== Skin Texture Property: color.tint ====== |
====== Summary ====== | |
</WRAP> | Defines the tint for the color and color_alpha texture property. |
<WRAP boxcontent> | |
|Texture Property Name|color.tint| | |
|Description|Defines the tint for the color and color_alpha texture property.| | |
|Excepted Data Source|3 component image| | |Excepted Data Source|3 component image| |
|Data Range|0 to 1 for all image components| | |Data Range|0 to 1 for all image components| |
|Affected Modules|Graphic| | |Affected Modules|Graphic| |
|Linked Properties|[[gamedev:textureproperties:color|color]], [[gamedev:textureproperties:color_alpha|color_alpha]]| | |Linked Properties|[[gamedev:textureproperties:color|color]], [[gamedev:textureproperties:color_alpha|color_alpha]]| |
</WRAP> | |
| |
====== Description ====== | ====== Description ====== |
| |
The **color.tint** texture property is linked to the **[[gamedev:textureproperties:color|color]]** and **[[gamedev:textureproperties:color_alpha|color_alpha]]** texture properties. It defines a color multiplication factor to tint the images from the **[[gamedev:textureproperties:color|color]]** and **[[gamedev:textureproperties:color_alpha|color_alpha]]** texture properties. This allows to alter the color of textures without requiring new image files for each color variation. Furthermore this allows for dynamic color changes using a renderable for this texture property. | The **color.tint** texture property is linked to the **[[gamedev:textureproperties:color|color]]** and **[[gamedev:textureproperties:color_alpha|color_alpha]]** texture properties. It defines a color multiplication factor to tint the images from the **[[gamedev:textureproperties:color|color]]** and **[[gamedev:textureproperties:color_alpha|color_alpha]]** texture properties. This allows to alter the color of textures without requiring new image files for each color variation. Furthermore this allows for dynamic color changes using a renderable for this texture property. |
| |
| |
====== Examples ====== | ====== Examples ====== |
| |
<WRAP column 45%> | <WRAP column 45%> |
<WRAP center box 450px> | <WRAP center box 450px> |