User Tools

Site Tools


gamedev:textureproperties:color

This is an old revision of the document!


Summary

Texture Property Namecolor
Excepted Data Source3 component image
Data Range0 to 1 for all image components
Default Value(0, 0, 0)
Graphic ModuleDefines albedo color
Physics ModuleNo effect
Audio ModuleNo effect

Graphic Module

The color texture property is the most basic texture property for the Graphic Module. With this property the albedo color of a material is defined. The albedo color is used in various lighting stages in different ways. In general this is the color of a surface illuminated by a fully lambertian light source at 1 meter distance which equals to even ambient lighting only. The color texture property should not contain any pre-baked lighting or shadowing including pre-baked ambient occlusion and other tricks. The Graphic Module can create a pre-baked color texture from the defined texture properties if required.

The color values are typically an 8 bit image with 3 color components with the data of all color components located inside the range from 0 to 1. 0 represents 0% light reflectivity for a color component while 1 represents a 100% light reflectivity. Values outside this range are physically not plausible.

For sky textures high definition range images can be used to increase the color depth resolution. Even in this case the color components have to be located inside the range from 0 to 1.

The default value for this texture property is pure black (0, 0, 0).

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