[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **transparency.type**
====== Summary ======
|Texture Property Name|transparency.type|
|Description|Defines if a material is fully transparent or masked transparent|
|Excepted Data Source|1 component value|
|Data Range|0 (masked) or 1 (fully transparent)|
|Default Value|0 (masked)|
|Affected Module|Graphic|
|Linked Properties|[[gamedev:textureproperties:transparency|transparency]]|
====== Description ======
The **transparency.type** texture property is linked with the **[[gamedev:textureproperties:transparency|transparency]]** texture property. It defines if a texture is fully transparent or masked transparent. See the
**[[gamedev:textureproperties:transparency|transparency]]** for a detailed explanation.
The value is typically a single component value with the data set to 0 or 1. 0 tells the Graphic Module to render this material as a masked transparent material. A value of 1 tells the Graphic Module to render this material as a fully transparent material. Values less than 0.5 map to 0 while all other values map to 1. Values other than 0 and 1 should be avoided.
The default value for this texture property is 0 hence the Graphic Module renders the material as a masked material.
====== Examples ======
{{ :gamedev:textureproperties:transparency.png |Transparent glass material}}
Transparent glass material. Example of a fully transparent material. This glass uses 4% transparency hence 0.04 for the transparency texture property.