User Tools

Site Tools


gamedev:textureproperties:absorption

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gamedev:textureproperties:absorption [2019/05/09 07:19] dragonlordgamedev:textureproperties:absorption [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
-~~META: 
-description = Texture property defining the sub surface absorption factor typically used for human skin materials. 
-~~ 
 {{tag>graphic skin texture absorption}} {{tag>graphic skin texture absorption}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **absorption**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **absorption**
 </WRAP> </WRAP>
  
-<WRAP boxheader> +====== Skin Texture Propertyabsorption ====== 
-====== Texture Property "absorption====== + 
-</WRAP> +Defines the sub surface absorption factor as typically used for human skin to look more realistic. 
-<WRAP boxcontent> + 
-|Texture Property Name|absorption| +|Excepted Data Source|component image|
-|Description|Defines the sub surface absorption factor.| +
-|Excepted Data Source|component image|+
 |Data Range|0 to 1| |Data Range|0 to 1|
-|Default Value|(0,0,0)|+|Default Value|0|
 |Affected Modules|Graphic| |Affected Modules|Graphic|
 |Linked Properties|[[absorption_range|absorption.range]]| |Linked Properties|[[absorption_range|absorption.range]]|
-</WRAP> 
  
 ====== Description ====== ====== Description ======
-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|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|absorption.range]] texture property for the use of the range. 
  
-The **absorption** uses an absorption color instead of a single absorption valueThis reflects the property of certain materials to absorpt light of different wavelengths in different quantitiesA typical example is human skin where the absorption range of red is highest (1) followed by green (1/3 of red) and blue (1/6 of red)Without this ratio the sub surface absorption and scattering would look wrongFor most materials using the same color for **absorption** as for **color** is a good choice. Using an image though with deviating values can be used to simulate veines or bones under the skin altering the way light is absorbed and scattere under the skin. Leaves are a good example where certain parts of the leaf appear darker than others with back-lighting. This can be achieved by pulling colors in the absorption map towards black for selected parts.+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 effectSub 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 fleshierThe 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 materialThe intensity of the light exciting the surface on the other side depends on the thickness of the material and the absorption properties of the materialIn both cases the **absorption** texture property defines the factor of absorption relative to the [[absorption_range|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|absorption.range]] texture property for the use of the range to obtain more fine tuned results.
  
-The source is typically an image with 3 color component with values 0 to 1. 
  
-The default value for this texture property is (0,0,0which disables sub surface light absorption and scattering.+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.
  
 ====== Examples ====== ====== Examples ======
 +
 <WRAP column 45%> <WRAP column 45%>
 <WRAP center box 350px> <WRAP center box 350px>
Line 56: Line 51:
 <WRAP center box 350px> <WRAP center box 350px>
 {{ :gamedev:textureproperties:absorption_3.jpg?direct&300 |Stanford armadillo with human skin, 0.02 absorption range and (1,1/3,1/6) absorption.}} {{ :gamedev:textureproperties:absorption_3.jpg?direct&300 |Stanford armadillo with human skin, 0.02 absorption range and (1,1/3,1/6) absorption.}}
-<WRAP centeralign>Stanford armadillo with human skin, 0.02 absorption range and (1,1/3,1/6) absorption. The shadows receive now the skin typical brightening up especially in the redish color specturm.</WRAP>+<WRAP centeralign>Stanford armadillo with human skin, 0.02 absorption range and (1,1/3,1/6) absorption. The shadows receive now the skin typical brightening up especially in the redish colro specturm.</WRAP>
 </WRAP> </WRAP>
 </WRAP> </WRAP>
  
 <WRAP clear></WRAP> <WRAP clear></WRAP>
gamedev/textureproperties/absorption.1557386370.txt.gz · Last modified: 2019/05/09 07:19 by dragonlord