Table of Contents

Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database » transparency.type

Summary

Texture Property Nametransparency.type
DescriptionDefines if a material is fully transparent or masked transparent
Excepted Data Source1 component value
Data Range0 (masked) or 1 (fully transparent)
Default Value0 (masked)
Affected ModuleGraphic
Linked Propertiestransparency

Description

The transparency.type texture property is linked with the transparency texture property. It defines if a texture is fully transparent or masked transparent. See the 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

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.