User Tools

Site Tools


gamedev:textureproperties:reflectivity

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:reflectivity [2019/05/08 20:08] dragonlordgamedev:textureproperties:reflectivity [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
-{{tag>dragengine graphic skin texture reflection}}+{{tag>graphic skin texture reflection}}
 <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]] >> **reflectivity**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **reflectivity**
 </WRAP> </WRAP>
  
-<WRAP boxheader> +====== Skin Texture Property: reflectivity ====== 
-====== Summary ====== + 
-</WRAP> +Defines the per-color reflectivity/reflectance
-<WRAP boxcontent> +
-|Texture Property Name|reflectivity| +
-|Description|Defines the per-color reflectivity/reflectance|+
 |Excepted Data Source|3 component image| |Excepted Data Source|3 component image|
 |Data Range|0 to 1 for all image components| |Data Range|0 to 1 for all image components|
Line 15: Line 13:
 |Affected Modules|Graphic| |Affected Modules|Graphic|
 |Linked Properties|[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]| |Linked Properties|[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]|
-</WRAP> 
  
 ====== Description ====== ====== Description ======
 +
 The **reflectivity** texture property defines the per-color reflectivity or reflectance of a material at a **zero viewing angle**. This is more than the simple **specular reflectivity** parameter typically found in other game engines since the Drag[en]gine adepts a **[[gamedev:pbr|physically based rendering]]** approach. The zero angle reflectivity is often specified as the **F0 reflectance**. This is the value required to be used for this texture property. Important to note is the fact that this texture property is **gamma corrected** using the value of the **[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]** texture property which is by default 2.2 . This is due to the fact that reflectivity can be an image. Using sRGB color space artists can work with shades of dark gray colors for the very low values of dielectric materials which is still well visible while editing the image. Hence if you use a static value or static color for this texture property the value has to be **raised to the power of 1.0/2.2** first to obtain the correct reflectivity value during rendering unless the **[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]** is set to 1. For all values it is marked if they are in **linear space** or **sRGB** space. Use the sRGB values for this texture property if **[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]** is not set to 1. The **reflectivity** texture property defines the per-color reflectivity or reflectance of a material at a **zero viewing angle**. This is more than the simple **specular reflectivity** parameter typically found in other game engines since the Drag[en]gine adepts a **[[gamedev:pbr|physically based rendering]]** approach. The zero angle reflectivity is often specified as the **F0 reflectance**. This is the value required to be used for this texture property. Important to note is the fact that this texture property is **gamma corrected** using the value of the **[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]** texture property which is by default 2.2 . This is due to the fact that reflectivity can be an image. Using sRGB color space artists can work with shades of dark gray colors for the very low values of dielectric materials which is still well visible while editing the image. Hence if you use a static value or static color for this texture property the value has to be **raised to the power of 1.0/2.2** first to obtain the correct reflectivity value during rendering unless the **[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]** is set to 1. For all values it is marked if they are in **linear space** or **sRGB** space. Use the sRGB values for this texture property if **[[gamedev:textureproperties:reflectivity_gamma|reflectivity.gamma]]** is not set to 1.
  
Line 48: Line 46:
  
 ====== Examples ====== ====== Examples ======
 +
 <WRAP column 45%> <WRAP column 45%>
 <WRAP center box 450px> <WRAP center box 450px>
gamedev/textureproperties/reflectivity.1557346126.txt.gz · Last modified: 2019/05/08 20:08 by dragonlord