This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gamedev:textureproperties:absorption_range [2019/05/09 08:18] – removed dragonlord | gamedev:textureproperties:absorption_range [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
+ | <WRAP youarehere> | ||
+ | [[: | ||
+ | </ | ||
+ | ====== Skin Texture Property: absorption.range ====== | ||
+ | |||
+ | Defines the sub surface absorption range as typically used for human skin. | ||
+ | |||
+ | |Excepted Data Source|1 component value| | ||
+ | |Data Range|0 or grater| | ||
+ | |Default Value|0| | ||
+ | |Affected Modules|Graphic| | ||
+ | |Linked Properties|[[absorption|absorption]]| | ||
+ | |||
+ | ====== Description ====== | ||
+ | |||
+ | The **absorption.range** texture property defines the range of scattering in sub surface absorption 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. The second effect is translucency. In both cases the **absorption.range** texture property defines the range of absorption. Beyond this limit the light is fully absorbed by the material. In between the light is partially absorbed using an exponential decay function. In contrast to the [[absorption|absorption]] texture property the **absorption.range** is a single component value and defines the largest radius. The actual absorption used is thus [[absorption|absorption]] times **absorption.range** component wise. See [[absorption|absorption]] texture property more information about absorption. | ||
+ | |||
+ | The source is a value with 1 color component with values 0 or greater. | ||
+ | |||
+ | The default value for this texture property is 0 which disables sub surface light absorption and scattering. | ||
+ | |||
+ | A value of 0.02 is a typical choice for human skin. Most materials have absorption ranges below 0.1 . | ||
+ | |||
+ | Note on the values in the examples below. The stanford armadillo model is small. If you want a full size 2 meter high armadillo to show these absorption properties you have to multiply the range by 10 to obtain similar values. | ||
+ | |||
+ | ====== Examples ====== | ||
+ | |||
+ | <WRAP column 45%> | ||
+ | <WRAP center box 350px> | ||
+ | {{ : | ||
+ | <WRAP centeralign> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP column 45%> | ||
+ | <WRAP center box 350px> | ||
+ | {{ : | ||
+ | <WRAP centeralign> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP clear></ | ||
+ | |||
+ | <WRAP column 45%> | ||
+ | <WRAP center box 350px> | ||
+ | {{ : | ||
+ | <WRAP centeralign> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP column 45%> | ||
+ | <WRAP center box 350px> | ||
+ | {{ : | ||
+ | <WRAP centeralign> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP clear></ |