Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database » absorption
Defines the sub surface absorption factor as typically used for human skin to look more realistic.
Excepted Data Source | 1 component image |
Data Range | 0 to 1 |
Default Value | 0 |
Affected Modules | Graphic |
Linked Properties | absorption.range |
The absorption texture property defines the sub surface absorption factor of a material. Sub surface absorption affects light entering the material after surface based texture properties have taken effect. Sub surface absorption has two main effects. The first is that light is scattered under the surface and exits at a nearby point. This effect gives human skin, way, marble and similar materials their characteristic look. With human skin for example missing the sub surface light scattering the skin looks like plastic and annatural. Due to the sub surface light scattering the skin looks softer and fleshier. The second effect is translucency. Due to the same sub surface absorption effect the light can penetrate the material and exit at the shadow side of the material. The intensity of the light exciting the surface on the other side depends on the thickness of the material and the absorption properties of the material. In both cases the absorption texture property defines the factor of absorption relative to the absorption.range texture property. Splitting the absorption factor out the full range of an 8-bit image can be used to define the absorption even for small or very high values. See absorption.range texture property for the use of the range to obtain more fine tuned results.
The source is typically an image with 1 color component with values 0 to 1.
The default value for this texture property is 0 which disables sub surface light absorption and scattering.