| Home Page | Recent Changes | Preferences

Combiner

UT2003 :: Object >> Material >> Combiner (Package: Engine)

Combines two materials possibly using a third material as mask.

Properties

EAlphaOperation AlphaOperation
Operation used to combine the alpha channels of the materials. See EAlphaOperation enum below.
EColorOperation CombineOperation
Operation used to combine the RGB channels of the materials. See EColorOperation enum below.
bool InvertMask
Inverts the mask's alpha channel?
Material Mask (editinlineuse)
Material used as the mask.
Material Material1 (editinlineuse)
First material.
Material Material2 (editinlineuse)
Second material.
bool Modulate2X / bool Modulate4X
These parameters only have an effect with the CombineOperation is CO_Multiply. These allow you to get a result brighter than either original. Modulate2X doubles the resultant RGB values from the multiplication, and Modulate4X quadruples the resultant RGB values from the multiplication. Modulate4X overrides Modulate2X if both are set to true.

Enums

EAlphaOperation

AO_Use_Mask
Use the mask material's alpha channel as the new alpha channel.
AO_Multiply
Multiply the alpha channel values of the two materials.
AO_Add
Add the alpha channel values of the two materials.
AO_Use_Alpha_From_Material1
Use the first material's alpha channel as the new alpha channel.
AO_Use_Alpha_From_Material2
Use the second material's alpha channel as the new alpha channel.

EColorOperation

CO_Use_Color_From_Material1
Use only the first material's RGB channels for the resulting material.
CO_Use_Color_From_Material2
Use only the second material's RGB channels for the resulting material.
CO_Multiply
Multiply the RGB values or the two materials. Note that they are multiplied as fractions, with 255 being 1.0 and 0 being 0.0. Thus, the result of any multiplication will be DARKER than either of the originals. (Unless one of the originals is 255, in which case no change will occur.) See also Modulate2X and Modulate4X above.
CO_Add
Add the RGB values of the two materials.
CO_Subtract
Subtract the second material's RGB values from the first material's RGB values.
CO_AlphaBlend_With_Mask
The mask's alpha channel determines, how much of each material is visible. Transparent parts of the mask mean use more of the first material and opaque parts of the mask mean use more of the second material. (I think)
CO_Add_With_Mask_Modulation
CO_Use_Color_From_Mask
Use the mask material's RGB channels for the resulting material.

External links


Category Class (UT2003)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In