Add (Image program function)
Description
This function will composite two images using an additive blend without normalizing the result.
Usage
add ([map_1], [map_2])
Parameters
- [map_1] - The first of the two images to composite.
- [map_2] - The second of the two images to composite.
Example
Composite two images…
textures/add_two
{
{
blend diffusemap
map add(textures/custom/image_1.tga, textures/custom/image_2.tga)
}
}
Composite three or more images by nesting…
textures/add_three
{
{
blend diffusemap
map add(textures/custom/image_1.tga, add(textures/custom/image_2.tga,
textures/custom/image_3.tga))
}
}
Notes
None.