User Tools

Site Tools


gamedev:textureproperties:color_tint

This is an old revision of the document!


Summary

Texture Property Namecolor.tint
Excepted Data Source3 component image
Data Range0 to 1 for all image components
Default Value(1, 1, 1)
Graphic ModuleDefines the tint for the color and color_alpha texture property.
Physics ModuleNo effect
Audio ModuleNo effect

Graphic Module

The color.tint texture property is linked to the color and color_alpha texture properties. It defines a color multiplication factor to tint the images from the color and color_alpha texture properties. This allows to alter the color of textures without requiring new image files for each color variation. Furthermore this allows for dynamic color changes using a renderable for this texture property.

The color values are typically a 3 color components with all color components located inside the range from 0 to 1. Values outside this range might be useful for special effects but are not recommended.

The default value for this texture property is white (1, 1, 1).

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/color_tint.1354385444.txt.gz · Last modified: 2012/12/01 18:10 by dragonlord