This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gamedev:textureproperties:ambient_occlusion [2012/12/01 18:27] – dragonlord | gamedev:textureproperties:ambient_occlusion [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
<WRAP youarehere> | <WRAP youarehere> | ||
- | [[: | + | [[: |
</ | </ | ||
- | <WRAP boxheader> | + | ====== |
- | ====== | + | |
- | </ | + | Defines the ambient occlusion factor. |
- | <WRAP boxcontent> | + | |
- | |Texture Property Name|ambient.occlusion| | + | |
- | |Description|Defines the ambient occlusion factor| | + | |
|Excepted Data Source|1 component image| | |Excepted Data Source|1 component image| | ||
|Data Range|0 to 1| | |Data Range|0 to 1| | ||
|Default Value|1| | |Default Value|1| | ||
- | |Affected | + | |Affected |
- | </ | + | |Linked Properties|-| |
====== Description ====== | ====== Description ====== | ||
+ | |||
The **ambient.occlusion** texture property defines the ambient occlusion for a material. In the real world only a fraction of ambient light enters bumps and cravices in objects. This results in such places to be somewhat darker than the rest of the object. In games the low polygon models are flat and such details are only shown using normal mapping. Normal mapping can though not take care of darkening pixels due to ambient occlusion. For this an additional AO map is required storing for each pixel the percentage of ambient lighting potentially hitting this point. | The **ambient.occlusion** texture property defines the ambient occlusion for a material. In the real world only a fraction of ambient light enters bumps and cravices in objects. This results in such places to be somewhat darker than the rest of the object. In games the low polygon models are flat and such details are only shown using normal mapping. Normal mapping can though not take care of darkening pixels due to ambient occlusion. For this an additional AO map is required storing for each pixel the percentage of ambient lighting potentially hitting this point. | ||
Line 25: | Line 26: | ||
====== Examples ====== | ====== Examples ====== | ||
- | ( TODO: example image ) | + | |
+ | <WRAP center 100%> | ||
+ | <WRAP center box 850px> | ||
+ | {{ :gamedev: | ||
+ | <WRAP centeralign> | ||
+ | </ | ||
+ | </ |