Doc:Glossary/Bump Mapping

提供: wiki
移動先: 案内検索

Bump Mapping

Is a technique where at each pixel, a perturbation to the surface normal of the object being rendered is looked up in a texture map and applied before the illumination calculation is done. Bump Mapping use a gray-scale image map to change the direction of surface normals. You can use this to simulate height, so that you can paint wrinkles and bumps. 50 % grey means neutral (no change is made), lighter means higher, darker means lower. Note that the position of faces is not actually changed; by rotating just the normals, lighting will change too, to give the illusion of a height difference. This has downsides too: the outline of objects isn't changed, so the trick is given away. For similar effects you can use Displacement Mapping and Normal Mapping.