| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| gamedev:textureproperties:color_alpha [2012/12/03 23:25] – dragonlord | gamedev:textureproperties:color_alpha [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord |
|---|
| | {{tag>graphic skin texture color transparency}} |
| <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_alpha** | [[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **color_alpha** |
| </WRAP> | </WRAP> |
| |
| <WRAP boxheader> | ====== Skin Texture Property: color_alpha ====== |
| ====== Summary ====== | |
| </WRAP> | Defines albedo color with transparency. |
| <WRAP boxcontent> | |
| |Texture Property Name|color_alpha| | |
| |Description|Defines albedo color with transparency| | |
| |Excepted Data Source|4 component image| | |Excepted Data Source|4 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_gamma|color.gamma]], [[gamedev:textureproperties:color_tint|color.tint]]| | |Linked Properties|[[gamedev:textureproperties:color_gamma|color.gamma]], [[gamedev:textureproperties:color_tint|color.tint]]| |
| </WRAP> | |
| |
| ====== Description ====== | ====== Description ====== |
| | |
| The **color_alpha** texture property combines the **[[gamedev:textureproperties:color|color]]** and the **[[gamedev:textureproperties:transparency|transparency]]** texture properties in one texture property. Sometimes it is useful and saves disk space if the alpha channel of an image or color is used directly as the transparency value. | The **color_alpha** texture property combines the **[[gamedev:textureproperties:color|color]]** and the **[[gamedev:textureproperties:transparency|transparency]]** texture properties in one texture property. Sometimes it is useful and saves disk space if the alpha channel of an image or color is used directly as the transparency value. |
| |
| |
| ====== Examples ====== | ====== Examples ====== |
| | |
| <WRAP center 100%> | <WRAP center 100%> |
| <WRAP center box 450px> | <WRAP center box 450px> |
| {{ :gamedev:material_color.png |Color property from a simple concrete material}} | {{ :gamedev:textureproperties:color.png |Color property from a simple concrete material}} |
| <WRAP centeralign>Color property from a simple concrete material. Only albedo color variations have to be included in this texture property.</WRAP> | <WRAP centeralign>Color property from a simple concrete material. Only albedo color variations have to be included in this texture property.</WRAP> |
| </WRAP> | </WRAP> |
| </WRAP> | </WRAP> |
| |