MakeIntensity (Image program function)
Description
This function will copy the red channel to the green, blue, and alpha channels. This will result in a greyscale image.
Usage
makeIntensity ([map])
Parameters
- [map] - The image to be altered.
Example
Convert the rgb image into an alpha channel…
textures/converted_grey
{
blend diffusemap
map makeIntensity(textures/decals/plasma_burn.tga)
{
Notes
None.