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:09] – 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 |
- | <WRAP boxcontent> | + | |
- | |Texture Property Name|ambient.occlusion| | + | |
|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| | ||
- | |Graphic | + | |Affected Modules|Graphic| |
- | |Physics Module|No effect| | + | |Linked Properties|-| |
- | |Audio Module|No effect| | + | |
- | </ | + | |
+ | ====== Description ====== | ||
- | ====== Graphic Module ====== | ||
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 24: | Line 24: | ||
The default value for this texture property is 1. | The default value for this texture property is 1. | ||
- | |||
- | ====== Physics Module ====== | ||
- | This texture property does not effect Physics Modules. | ||
- | |||
- | ====== Audio Module ====== | ||
- | This texture property does not effect Audio Modules. | ||
====== Examples ====== | ====== Examples ====== | ||
- | ( TODO: example image ) | + | |
+ | <WRAP center 100%> | ||
+ | <WRAP center box 850px> | ||
+ | {{ :gamedev: | ||
+ | <WRAP centeralign> | ||
+ | </ | ||
+ | </ |