The Bulge texture procedure was inspired by looking at windows on a skyscraper. If a building was pumped full of air, the glass would bulge outwards in the center while the edges would be constrained by the frame. The frame of the window is exactly the same as a grid that is apparent when using the bulge texture.
The Bulge texture procedure is most commonly applied as a bump map to create a bulge effect on a surface. However, it can also be applied to a transparency map to simulate windows that are dirty or opaque around the edges but transparent in the middle area. When applied to a color map, there is no apparent bulge, but this application can be used to simulate tile effects, for example.
Argument Name | Absolute Range | Useful Range | Default | Description |
uwidth | 0.0, 1.0 | 0, 1 | 0.1 | Width in u dir. of constant stripe |
vwidth | 0.0, 1.0 | 0, 1 | 0.1 | Width in v dir. of constant stripe |
urepeat | -infinity, infinity | -10.0, 10.0 | 1.0 | # of copies in u dir. within coverage area. |
vrepeat | -infinity, infinity | -10.0, 10.0 | 1.0 | # of copies in v dir. within coverage area. |
uoffset | -infinity, infinity | -1.0, 1.0 | 0.0 | U offset repeat within coverage area |
voffset | -infinity, infinity | -1.0, 1.0 | 0.0 | V offset repeat within coverage area |
ucoverage | -infinity, infinity | 0.0, 1.0 | 1.0 | amount of U surface to be textured |
vcoverage | -infinity, infinity | 0.0, 1.0 | 1.0 | amount of V surface to be textured |
utranslate | -infinity, infinity | -1.0, 1.0 | 0.0 | amount of U coverage area to be moved. |
vtranslate | -infinity, infinity | -1.0, 1.0 | 0.0 | amount of V coverage area to be moved. |
uwrap | TRUE FALSE | TRUE | flag to wrap texture around U boundaries of coverage area. | |
vwrap | TRUE FALSE | TRUE | flag to wrap texture around U boundaries of coverage area. | |
worldspace | TRUE FALSE | FALSE | flag to use world space texture mapping | |
rotate | -infinity, infinity | -360.0, 360.0 | 0.0 | angle coverage area to be rotated |
mirror | TRUE FALSE | FALSE | flag to match edges of texture |
“Bulge” is a parametric texture.