User Tools

Site Tools


gamedev:textureproperties:color_alpha

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
gamedev:textureproperties:color_alpha [2019/05/08 22:44] dragonlordgamedev:textureproperties:color_alpha [2019/05/09 08:28] – removed dragonlord
Line 1: Line 1:
-~~Title: Skin Texture Property: color_alpha~~ 
-{{tag>graphic skin texture color transparency}} 
-<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** 
-</WRAP> 
- 
-<WRAP boxheader> 
-====== Summary ====== 
-</WRAP> 
-<WRAP boxcontent> 
-|Texture Property Name|color_alpha| 
-|Description|Defines albedo color with transparency| 
-|Excepted Data Source|4 component image| 
-|Data Range|0 to 1 for all image components| 
-|Default Value|(0, 0, 0, 1)| 
-|Affected Modules|Graphic| 
-|Linked Properties|[[gamedev:textureproperties:color_gamma|color.gamma]], [[gamedev:textureproperties:color_tint|color.tint]]| 
-</WRAP> 
- 
-====== 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 red, green and blue components (component 0, 1 and 2) are used exactly the same way as in the **[[gamedev:textureproperties:color|color]]** texture property. The alpha component (component 3) is used exactly as in the **[[gamedev:textureproperties:transparency|transparency]]** texture property. See the appropriate texture properties to learn the details. 
- 
-If the **color_alpha** texture property is defined together with the **[[gamedev:textureproperties:color|color]]** and/or the **[[gamedev:textureproperties:transparency|transparency]]** texture property the **color_alpha** texture property is applied first then the other texture properties. 
- 
-The color values are typically an 8 bit image with 4 color components with the data of all color components located inside the range from 0 to 1. 0 represents 0% light reflectivity (respectively 0% opaqueness) for a color component while 1 represents a 100% light reflectivity (respectively 100% opaqueness). Values outside this range are physically not plausible. 
- 
-The default value for this texture property is opaque pure black (0, 0, 0, 1). 
- 
-====== Examples ====== 
-<WRAP center 100%> 
-<WRAP center box 450px> 
-{{ :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> 
-</WRAP> 
  
gamedev/textureproperties/color_alpha.txt · Last modified: 2019/05/24 23:43 by dragonlord