InvertColor (Image program function)

From modwiki

Jump to: navigation, search

Description

This function will invert the red, green, and blue channels of the specified image.

Usage

invertColor ([map])

Parameters

  • [map] - The image containing the red, green, and blue channels to invert.

Example

Invert the color channels...

textures/inverted_color
{
   {
      blend diffusemap
      map   invertColor(textures/custom/image_1.tga)
   }
}

Notes

None.


Personal tools
Main