Show Menu
TOPICS×

bgc

Background color. Specifies the subtractive color for colorizable textures and decals.
bgc= *[color]*
color
RGB or gray color value.
Image Rendering's texture colorization algorithm is quite simple - the component values of bgc= are subtracted from those of the texture pixels, color= is added, and finally the result is clipped to 0,0,0 and 255,255,255 .
For typical uses of texture colorization, the value for bgc= might be the most important or dominant color in the texture image. Scene7 Image Authoring provides semi-automatic tools which extract reasonable bgc= color values from textures images.
When a texture material is applied to a non-texturable vignette object, bgc= is applied as the foreground color if color= is not specified.

Properties

Material attribute. Ignored by solid color and cabinet materials.

Default

catalog::BaseColor if the material is based on a catalog entry, otherwise bgc=808080 (neutral gray).

Example

Colorize an apparel fabric whose texture has the dominant RGB color 120,34,193:
…&src=fabrics/d213.jpg&res=40&bgc=120,34,193&color=140,95,100&…