User Tools

Site Tools


gamedev:textureproperties:transparency_type

This is an old revision of the document!


Summary

Texture Property Nametransparency.type
Excepted Data Source1 component value
Data Range0 (masked) or 1 (fully transparent)
Default Value0 (masked)
Graphic ModuleDefines if a material is fully transparent or masked transparent
Physics ModuleNo effect
Audio ModuleNo effect

Graphic Module

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.

Physics Module

This texture property does not effect Physics Modules.

Audio Module

This texture property does not effect Audio Modules.

Examples

( TODO: example image )

You could leave a comment if you were logged in.
gamedev/textureproperties/transparency_type.1354385494.txt.gz · Last modified: 2012/12/01 18:11 by dragonlord